## FormatterConverter::ToDateTime method


Converts a value to a [DateTime](../../../system/datetime/).

```cpp
DateTime System::Runtime::Serialization::FormatterConverter::ToDateTime(System::SharedPtr<Object> value) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | System::SharedPtr\<Object\> | The object to be converted. |

### ReturnValue

The converted value.

## See Also

* Class [DateTime](../../../system/datetime/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [FormatterConverter](../)
* Namespace [System::Runtime::Serialization](../../)
* Library [Aspose.PUB for C++](../../../)
