DATE
- DATE(year, month, day)[source]
Constructs a date from the given year, month, and day components.
The DATE function returns a valid date using the specified year, month, and day. It supports both single values and arrays; if arrays are provided, they must all have the same length, otherwise the formula will evaluate to an error.
- Parameters:
- Return type:
- Returns:
A Formula object representing the constructed date. If the inputs do not form a valid date, the formula will evaluate to an error.
Supported types:
DATE
DATE_ARRAY
- Raises:
ValueError – If any input is not numeric or an array of numeric values.