ClickHouse/tests/queries/0_stateless/01692_DateTime64_from_DateTime.sql
2021-07-18 18:04:32 +03:00

8 lines
390 B
SQL

select toDateTime64(toDateTime(1, 'Europe/Moscow'), 2);
select toDateTime64(toDate(1), 2) FORMAT Null; -- Unknown timezone
select toDateTime64(toDateTime(1), 2) FORMAT Null; -- Unknown timezone
select toDateTime64(toDateTime(1), 2, 'Europe/Moscow');
select toDateTime64(toDate(1), 2, 'Europe/Moscow');
select toDateTime64(toDateTime(1), 2, 'GMT');
select toDateTime64(toDate(1), 2, 'GMT');