 | 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.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntaxpublic static DateTime GetDateFromOA(
double oaDate
)
Parameters
- oaDate Double
- oaDate OA date number
Return Value
DateTimeConverted date
Remarks
See Also