DATE_FORMAT (Lakehouse v2)
Formats a date or datetime value according to a format string.
Analyze Syntax
Section titled “Analyze Syntax”func.date_format(<date>, <format>)Analyze Examples
Section titled “Analyze Examples”func.date_format('2024-06-15', '%Y/%m/%d')
┌──────────────┐│ '2024/06/15' │└──────────────┘SQL Syntax
Section titled “SQL Syntax”DATE_FORMAT(<date>, <format>)SQL Examples
Section titled “SQL Examples”SELECT DATE_FORMAT('2024-06-15', '%Y/%m/%d');
┌────────────┐│ 2024/06/15 │└────────────┘