ReferenceSQL ReferenceSQL FunctionsfunctionsDATETYPEVersion: current [25.0.x]On this pageDATETYPECategories: Date/TimeDATETYPEConstructs DATE using the values provided for year, month, and day parameters.SyntaxDATETYPE(year NUMERIC, month NUMERIC, day NUMERIC) → DATEyear: Year value.month: Month value.day: Day value.ExamplesDATETYPE exampleSELECT DATETYPE(2020,1,2)-- 2020-01-02