#date

Syntax

#date(year as number, month as number, day as number) as date

About

Creates a date value from year year, month month, and day day. Raises an error if these are not true:

  • 1 ≤ year ≤ 9999
  • 1 ≤ month ≤ 12
  • 1 ≤ day ≤ 31