---
title: "Aspose::Email::Mapi::MapiProperty::GetDateTime method"
url: "https://reference.aspose.com/email/cpp/aspose.email.mapi/mapiproperty/getdatetime/"
product: "Aspose.Email for C++"
description: "Gets the first bytes of the binary data as datetime."
---


## GetDateTime {#getdatetime}

Gets the first bytes of the binary data as datetime.

**Returns:** The datetime value.

```cpp
GetDateTime()
```

