DateTimeUtil::year Method
Retrieves the year that is specified by a utcdatetime value.
Syntax
client server public static int year(utcdatetime t)
Run On
Called
Parameters
- t
Type: utcdatetime
A utcdatetime value for which to retrieve the value of the year component.
Return Value
Type: int
The year of the specified utcdatetime value.