Nevron Open Vision Documentation
Nevron.Nov Namespace / NDateTimeHelpers Class / ToOADate Method


In This Topic
    ToOADate Method
    In This Topic
    Converts a DateTime value to the equivalent OLE Automation date.
    Syntax
    'Declaration
     
    
    Public Shared Function ToOADate( _
       ByVal dateTime As System.Date _
    ) As System.Double
    'Usage
     
    
    Dim dateTime As System.Date
    Dim value As System.Double
     
    value = NDateTimeHelpers.ToOADate(dateTime)
    public static System.double ToOADate( 
       System.DateTime dateTime
    )

    Parameters

    dateTime
    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