Time comparison in ClickHouse - Stack Overflow
https://stackoverflow.com/questions/5803303430.08.2019 · ClickHouse stores DateTime as Unix timestamp - other words without timezone. But timezone is taken into account when sql-query executed: SELECT toDateTime('2019-08-31 20:35:00', 'UTC') AS origin_date, toTimeZone(origin_date, 'Etc/GMT+2') AS d1, toTypeName(d1) AS type1, toUnixTimestamp(d1) AS t1, toTimeZone(origin_date, 'UTC') AS d2, toTypeName(d2) AS …