TFlxDateTime.FromOADate Method
Converts a Double on Excel format for dates (Ole Automation Format) into a DateTime.
Syntax
Unit: FlexCel.Core
class function TFlxDateTime.FromOADate(value: Double; const Dates1904: Boolean): TDateTime; static;
Parameters
<-> |
Parameter |
Type |
Description |
|
value |
Double |
Double you want to convert. |
const |
Dates1904 |
Boolean |
When true dates start at 1904 (pre-OSX macs) instead of 1900 (Windows) |
Returns
The value as DateTime.
See also