## DateTime::get_Year method


Returns the year represented by the current object.

```cpp
int System::DateTime::get_Year() const
```

## See Also

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