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