DateTimeUtil::year Method [AX 2012]

Retrieves the year that is specified by a utcdatetime value.

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.
Show: