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