---
title: "System::Text::Json::JsonElement::GetDateTime method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json/jsonelement/getdatetime/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use GetDateTime method of System::Text::Json::JsonElement class in C++."
---

## JsonElement::GetDateTime method




```cpp
DateTime System::Text::Json::JsonElement::GetDateTime()
```

## See Also

* Class [DateTime](../../../system/datetime/)
* Class [JsonElement](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
