System::Globalization::Calendar::GetYear method
Calendar::GetYear method
Gets year for the specified time point.
virtual int System::Globalization::Calendar::GetYear(DateTime time) const
Parameter | Type | Description |
---|---|---|
time | DateTime | Time and date to extract data from. |
ReturnValue
Year in the time point passed.
See Also
- Class DateTime
- Class Calendar
- Namespace System::Globalization
- Library Aspose.PDF for C++