TO_DATETIME_NTZ (Lakehouse v2)
Converts a value to a DATETIME without time zone (NTZ). The result is not affected by session time zone settings.
Analyze Syntax
Section titled “Analyze Syntax”func.to_datetime_ntz('2024-06-15 14:30:00')Analyze Examples
Section titled “Analyze Examples”func.to_datetime_ntz('2024-06-15 14:30:00')
┌─────────────────────┐│ 2024-06-15 14:30:00 │└─────────────────────┘SQL Syntax
Section titled “SQL Syntax”TO_DATETIME_NTZ(<expr>)SQL Examples
Section titled “SQL Examples”SELECT TO_DATETIME_NTZ('2024-06-15 14:30:00');
┌─────────────────────┐│ 2024-06-15 14:30:00 │└─────────────────────┘