Nevron Open Vision Documentation
Nevron.Nov Namespace / NDateTimeSpan Structure / ConvertTo Method


In This Topic
    ConvertTo Method (NDateTimeSpan)
    In This Topic
    Converts this date time span to the given unit.
    Syntax
    'Declaration
     
    
    Public Function ConvertTo( _
       ByVal unit As NDateTimeUnit _
    ) As System.Double
    'Usage
     
    
    Dim instance As NDateTimeSpan
    Dim unit As NDateTimeUnit
    Dim value As System.Double
     
    value = instance.ConvertTo(unit)
    public System.double ConvertTo( 
       NDateTimeUnit unit
    )

    Parameters

    unit
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also