Function reference

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

Hour ( time )

Argument Description
time The 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() )

Last modified: 23 May 2021

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment