DC
'Europe/London'
)Size: a a a
DC
'Europe/London'
)DC
DC
'Europe/London'
) , переводит из Europe/London
в таймзону клиентаAK
S
T
SA
DT
n
DC
S
Р
SELECT toDateTime(now(), 'Europe/London')
┌─toDateTime(now(), 'Europe/London')─┐
│ 2020-05-29 15:07:15 │
└────────────────────────────────────┘
SELECT toString(now(), 'Europe/London')
┌─toString(now(), 'Europe/London')─┐
│ 2020-05-29 15:09:11 │
└──────────────────────────────────┘
через jdbc
select toDateTime(now(), 'Europe/London')
2020-05-29 11:07:25
select toString(now(), 'Europe/London')
2020-05-29 15:08:59
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 │
└─────────────────────┴────────────┴─────────────────────┘
IM
DC
DT
ДБ
DC
DC
DC