Creates a date.

Declaration

DATE(year, month, day) -> date

Parameters

year (type: number)
The 4-digit year.
month (type: number)
The month (1-12).
day (type: number)
The day of the month. (1-31)

Return Values

date (type: date)
A date representing the given value.

Was this article helpful?

0 out of 0 found this helpful

Add comment

Please sign in to leave a comment.