Getting Started
Developer Resources
Indices and Tables
Returns year of the current UTCDateTime object.
int
Returns year as an integer.
Example
>>> dt = UTCDateTime(2012, 2, 11) >>> dt.year 2012