System::DateTime::FromOADate method

DateTime::FromOADate method

Returns an instance of DateTime class representing the date and time value equivalent to the specified OLE Automation Date.

static DateTime System::DateTime::FromOADate(double date)
ParameterTypeDescription
datedoubleOLE Automation Date to convert to DateTime object

ReturnValue

A new instance of DateTime class representing the same date and time as date

See Also