Skip to content
Contact us

Hour()

Function reference

Obtains the hour in n time value. The hour is based on a 24-hour clock.Hour ( time )

ArgumentDescription
timeThe time value from which you want the hour

Data type: Integer Returns an integer (00-23) containing the hour portion of time.

Example:

This expression returns the current hour: Hour( Now() )