Conversions.ConvertDoubleToDateTime method
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for