Returns the number of the hour in the specified time-date.
@Hour( timeDateValue )
timeDateValue
Time-date or time-date list. The value with the hour that you want to extract.
hour
Number or number list. A number representing the hour contained in timeDateValue. Hours are represented as 0 through 23 for 12 AM through 11 PM. Returns -1 if the time-date provided contains only a date and not a time value.
If the parameter is a list, the function operates on each element of the list, and the return value is a list with the same number of elements.
@Hour([9:30])
@Hour([9:30] : [10:30])
@Hour(Date)
@Hour(Date)
@Hour(@Created)
Hour function of LotusScript® language