Investment Studio > Expressions > Functions > Date & Time > HOUR
Returns the hour encoded in the argument. The result is an integer ranging from 0 (12:00 AM) to 23 (11:00 PM).
Automatic type conversion allows the use of a time string as argument instead of an explicit date value.
Examples
=hour(0.8)
and
=hour(32791.8)
both equal 19; assuming standard US time format settings,
=hour("3:45:30 PM")
equals 15.