DateTimeUtil.hour(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 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.