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