DateTimeUtil::hour Method [AX 2012]

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

client server public static int hour(utcdatetime t)

Run On

Called

Parameters

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

Return Value

Type: int
The hour in the day of the specified utcdatetime value.
Show: