mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
c882d290bd
Before fix: SELECT toDateTime64('2201-01-12 12:12:12', 3, 'UTC') 1970-03-26 09:10:48.237 After fix: SELECT toDateTime64('2201-01-12 12:12:12', 3, 'UTC') 2201-01-12 12:12:12.000
11 lines
353 B
Plaintext
11 lines
353 B
Plaintext
-- { echo }
|
|
|
|
SELECT toDateTime64('2205-12-12 12:12:12', 0, 'UTC');
|
|
2205-12-12 12:12:12
|
|
SELECT toDateTime64('2205-12-12 12:12:12', 0, 'Europe/Moscow');
|
|
2205-12-12 12:12:12
|
|
SELECT toDateTime64('2205-12-12 12:12:12', 6, 'Europe/Moscow');
|
|
2205-12-12 12:12:12.000000
|
|
SELECT toDateTime64('2205-12-12 12:12:12', 6, 'Europe/Moscow');
|
|
2205-12-12 12:12:12.000000
|