#date

Syntax

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

About

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

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