9951 explained code solutions for 126 technologies


clickhouseGet year from date


SELECT toYear(now())ctrl + c
toYear

extracts year part from given date/time

now()

returns current date/time