Share via


#time

Syntax

#time(hour as number, minute as number, second as number) as time

About

Creates a time value from numbers representing the hour, minute, and (fractional) second. Raises an error if these conditions are not true:

  • 0 ≤ hour ≤ 24
  • 0 ≤ minute ≤ 59
  • 0 ≤ second < 60
  • if hour is 24, then minute and second must be 0