FlxDateTime.TryFromOADate Method
Converts a Double on Excel format for dates (Ole Automation Format) into a DateTime.
Syntax
Namespace: FlexCel.Core
public static Boolean TryFromOADate(Double value, Boolean Dates1904, out DateTime ResultDate)
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| value | Double | Double you want to convert. | |
| Dates1904 | Boolean | When true dates start at 1904 (pre-OSX macs) instead of 1900 (Windows) | |
| out | ResultDate | DateTime | Returns the value as DateTime. |
Returns
True if conversion was successful, false otherwise.