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.
See also
Reference
Microsoft.Isam.Esent.Interop namespace
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
