mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-22 16:30:49 +00:00
7 lines
338 B
SQL
7 lines
338 B
SQL
-- See comment in DateLUTImpl.cpp: "We doesn't support cases when time change results in switching to previous day..."
|
|
SELECT
|
|
ignore(toDateTime(370641600, 'Europe/Moscow') AS t),
|
|
replaceRegexpAll(toString(t), '\\d', 'x'),
|
|
toHour(t) < 24,
|
|
replaceRegexpAll(formatDateTime(t, '%Y-%m-%d %H:%M:%S; %R:%S; %F %T'), '\\d', 'x');
|