 | UtilsGetDateFromOA Method |
Method to calculate a common Date from the OA date (OLE automation) format
OA Date format starts at January 1st 1900 (actually 00.01.1900). Dates beyond this date cannot be handled by Excel under normal circumstances and will throw a FormatException
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
Syntaxpublic static DateTime GetDateFromOA(
double oaDate
)
Parameters
- oaDate Double
- oaDate OA date number
Return Value
DateTimeConverted date
Remarks
See Also