FromOADate()

DateTime::FromOADate(double) 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)

Arguments

ParameterTypeDescription
datedoubleOLE Automation Date to convert to DateTime object

Return Value

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

See Also