DateTimeUtil.year(utcdatetime) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the year that is specified by a utcdatetime value.
public:
static int year(Microsoft::Dynamics::Ax::Xpp::AxShared::utcdatetime _t);
public static int year (Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime _t);
static member year : Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime -> int
Public Shared Function year (_t As utcdatetime) As Integer
Parameters
- _t
- Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime
A utcdatetime value for which to retrieve the value of the year component.
Returns
The year of the specified utcdatetime value.