Skip to content

hour

Hour component of a time (0–23).

v = hour(serial_number)

Returns the hour-of-day from a date-time serial number.

hour(now) % current hour, 24-hour format
  • minute — Minute component of a time (0–59).
  • second — Second component of a time (0–59).
  • time — Construct a time fraction from hour, minute, second.