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