ClickHouse/tests/queries/0_stateless/01497_now_support_timezone.sql
2020-09-30 03:45:57 +03:00

2 lines
72 B
SQL

SELECT (toHour(now('Asia/Shanghai')) - toHour(now('UTC'))) IN (8, -16);