TO_ISO8601 (Lakehouse v2)
Converts a date or datetime to an ISO 8601 formatted string.
Analyze Syntax
Section titled “Analyze Syntax”func.to_iso8601(<datetime>)Analyze Examples
Section titled “Analyze Examples”func.to_iso8601('2024-06-15 14:30:00')
┌───────────────────────┐│ '2024-06-15T14:30:00' │└───────────────────────┘SQL Syntax
Section titled “SQL Syntax”TO_ISO8601(<datetime>)SQL Examples
Section titled “SQL Examples”SELECT TO_ISO8601('2024-06-15 14:30:00');
┌─────────────────────┐│ 2024-06-15T14:30:00 │└─────────────────────┘