Partilhar via


DateTimeUtil.year(utcdatetime) Method

Definition

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.

Applies to