## DateTime::FromOADate method


Returns an instance of [DateTime](../) class representing the date and time value equivalent to the specified OLE Automation Date.

```cpp
static DateTime System::DateTime::FromOADate(double date)
```


| Parameter | Type | Description |
| --- | --- | --- |
| date | double | OLE Automation Date to convert to [DateTime](../) object |

### ReturnValue

A new instance of [DateTime](../) class representing the same date and time as **date**

## See Also

* Class [DateTime](../)
* Class [DateTime](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
