DC
Size: a a a
DC
ДБ
DC
ДБ
DC
ДБ
Р
where dt = toDateTime('2020-05-29 00:00:00', 'Canada/Atlantic')
SELECT
toDateTime('2020-05-29 00:00:00') AS x,
toDate(x, 'Canada/Atlantic') AS y,
toStartOfDay(x, 'Canada/Atlantic') AS z
┌───────────────────x─┬──────────y─┬───────────────────z─┐
│ 2020-05-29 00:00:00 │ 2020-05-28 │ 2020-05-28 00:00:00 │
└─────────────────────┴────────────┴─────────────────────┘
DC
Р
DC
Р
DC
Р
DT
DC
DT
Р
AT
DC