hour
Hour component of a time (0–23).
Syntax
Section titled “Syntax”v = hour(serial_number)Description
Section titled “Description”Returns the hour-of-day from a date-time serial number.
Example
Section titled “Example”hour(now) % current hour, 24-hour format