TIMESTAMP

Converts a date or string to a datetime.

Analyze Syntax

func.timestamp(<expr>)

Analyze Examples

func.timestamp('2024-06-15')

┌───────────────────────┐
 '2024-06-15 00:00:00'  
└───────────────────────┘

SQL Syntax

TIMESTAMP(<expr>)

SQL Examples

SELECT TIMESTAMP('2024-06-15');

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