ClickHouse/tests/queries/0_stateless/01497_now_support_timezone.sql

2 lines
72 B
MySQL
Raw Normal View History

2020-09-30 00:45:57 +00:00
SELECT (toHour(now('Asia/Shanghai')) - toHour(now('UTC'))) IN (8, -16);