DATE
Description
Returns a Date constructed from the specified year, month, and day components.
Syntax
DATE(year, month, day) -> Date
Parameters
| Parameter | Data Type | Required | Description |
|---|---|---|---|
| year | Integer | Yes | The year component. |
| month | Integer | Yes | The month component (1–12). |
| day | Integer | Yes | The day component of the month. |
Example
DATE(2005, 1, 2)
-- Returns 2005-01-02.