Nevron Open Vision Documentation
Nevron.Nov Namespace / NVariant Structure / ToDateTime Method


In This Topic
    ToDateTime Method (NVariant)
    In This Topic
    Converts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.
    Syntax
    'Declaration
     
    
    Public Function ToDateTime( _
       ByVal provider As System.IFormatProvider _
    ) As System.Date
    'Usage
     
    
    Dim instance As NVariant
    Dim provider As System.IFormatProvider
    Dim value As System.Date
     
    value = instance.ToDateTime(provider)
    public System.DateTime ToDateTime( 
       System.IFormatProvider provider
    )

    Parameters

    provider
    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