DateTime.getHour()

Signature

int getHour(DateTime date)

Domain

ACTION, CONDITION, QUERY, BUI

Description

Gets the hour on the DateTime Object passed as input.

Parameters

NameTypeDescription
dateDateTimeA DateTime to get the hour of.

Returns

TypeDescription
intThe hour on the date argument. Hour in day ranges from 0-23.

Cautions

none