## DateTime::ToUniversalTime method


Returns a new instance of [DateTime](../) class that represents the date and time value represented by the current object as UTC.

```cpp
DateTime System::DateTime::ToUniversalTime() const
```

## See Also

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