Partager via


DateTimeUtil.hour(utcdatetime) Method

Definition

Retrieves the hour of the day that is specified by a utcdatetime value.

public:
 static int hour(Microsoft::Dynamics::Ax::Xpp::AxShared::utcdatetime _t);
public static int hour (Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime _t);
static member hour : Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime -> int
Public Shared Function hour (_t As utcdatetime) As Integer

Parameters

_t
Microsoft.Dynamics.Ax.Xpp.AxShared.utcdatetime

A utcdatetime value for which to retrieve the value of the hour component.

Returns

The hour in the day of the specified utcdatetime value.

Applies to