ClickHouse/tests/queries/0_stateless/01692_DateTime64_from_DateTime.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
390 B
MySQL
Raw Normal View History

2022-03-11 23:45:26 +00:00
select toDateTime64(toDateTime(1, 'Asia/Istanbul'), 2);
2021-07-18 15:04:32 +00:00
select toDateTime64(toDate(1), 2) FORMAT Null; -- Unknown timezone
select toDateTime64(toDateTime(1), 2) FORMAT Null; -- Unknown timezone
2022-03-11 23:45:26 +00:00
select toDateTime64(toDateTime(1), 2, 'Asia/Istanbul');
select toDateTime64(toDate(1), 2, 'Asia/Istanbul');
select toDateTime64(toDateTime(1), 2, 'GMT');
select toDateTime64(toDate(1), 2, 'GMT');