9951 explained code solutions for 126 technologies


clickhouseConvert string to date


SELECT toDate('2025-05-15')ctrl + c
toDate

converts given string to date

2025-05-15

sample textual date


Usage example

SELECT toDate('2025-05-15')
output
┌─toDate('2025-05-15')─┐
│           2025-05-15 │
└──────────────────────┘