#time

Syntax

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

About

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

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