TO_DATETIME_NTZ

Converts a value to a DATETIME without time zone (NTZ). The result is not affected by session time zone settings.

Analyze Syntax

func.to_datetime_ntz('2024-06-15 14:30:00')

Analyze Examples

func.to_datetime_ntz('2024-06-15 14:30:00')

┌─────────────────────┐
 2024-06-15 14:30:00 
└─────────────────────┘

SQL Syntax

TO_DATETIME_NTZ(<expr>)

SQL Examples

SELECT TO_DATETIME_NTZ('2024-06-15 14:30:00');

┌─────────────────────┐
 2024-06-15 14:30:00 
└─────────────────────┘