DateTimeUtil::hour Method

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

Syntax

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.

See Also

Reference

DateTimeUtil Class