Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Convert a double (OA date time format) to a DateTime. Unlike DateTime.FromOADate this doesn't throw exceptions.
Namespace: Microsoft.Isam.Esent.Interop
Assembly: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
Syntax
'Declaration
Public Shared Function ConvertDoubleToDateTime ( _
d As Double _
) As DateTime
'Usage
Dim d As Double
Dim returnValue As DateTime
returnValue = Conversions.ConvertDoubleToDateTime(d)
public static DateTime ConvertDoubleToDateTime(
double d
)
Parameters
d
Type: System.DoubleThe double value.
Return value
Type: System.DateTime
A DateTime.