MAKE_DATE()

All functions > DATE AND TIME > MAKE_DATE()

Builds a DATE from a ROW of calendar components.

Signatures

Returns: The constructed DATE

MAKE_DATE(row: ROW) → DATE
sql
ParameterTypeRequiredDescription
rowROWYesNamed fields: year, month, day (same names required by inference)

Notes

  • The ROW must use the field names year, month, and day (case-insensitive).
  • Each component is passed through to the SQL backend's date constructor for the active dialect.

Examples

FeatureQL
SELECT
    f1 := MAKE_DATE(ROW(2024 AS year, 3 AS month, 15 AS day)) -- Construct a DATE from parts
;
Result
f1 TIMESTAMP
2024-03-15T00:00:00

Last update at: 2026/05/26 17:22:09