{"slug":"us-premarket-and-after-hours-in-beijing-time","qid":"dst_switches","label":"dst_switches","post_title":"us-premarket-and-after-hours-in-beijing-time","post_url":"/blog/lang/zh-hans/us-premarket-and-after-hours-in-beijing-time#q-dst_switches","columns":["switch_date","switch_label","clock_change","beijing_premarket_open","beijing_regular_open","beijing_afterhours_end","days_away"],"rows":[{"switch_date":"2026-11-01","switch_label":"2026年11月1日","clock_change":"美东回到冬令时 EST","beijing_premarket_open":"17:00","beijing_regular_open":"22:30","beijing_afterhours_end":"09:00","days_away":35},{"switch_date":"2027-03-14","switch_label":"2027年3月14日","clock_change":"美东进入夏令时 EDT","beijing_premarket_open":"16:00","beijing_regular_open":"21:30","beijing_afterhours_end":"08:00","days_away":168},{"switch_date":"2027-11-07","switch_label":"2027年11月7日","clock_change":"美东回到冬令时 EST","beijing_premarket_open":"17:00","beijing_regular_open":"22:30","beijing_afterhours_end":"09:00","days_away":406},{"switch_date":"2028-03-12","switch_label":"2028年3月12日","clock_change":"美东进入夏令时 EDT","beijing_premarket_open":"16:00","beijing_regular_open":"21:30","beijing_afterhours_end":"08:00","days_away":532},{"switch_date":"2028-11-05","switch_label":"2028年11月5日","clock_change":"美东回到冬令时 EST","beijing_premarket_open":"17:00","beijing_regular_open":"22:30","beijing_afterhours_end":"09:00","days_away":770}],"shape":"series","sql":"SELECT\n    toString(d)                                                  AS switch_date,\n    concat(toString(toYear(d)), '年', toString(toMonth(d)), '月',\n           toString(toDayOfMonth(d)), '日')                      AS switch_label,\n    if(toMonth(d) = 3, '美东进入夏令时 EDT', '美东回到冬令时 EST') AS clock_change,\n    if(toMonth(d) = 3, '16:00', '17:00')                         AS beijing_premarket_open,\n    if(toMonth(d) = 3, '21:30', '22:30')                         AS beijing_regular_open,\n    if(toMonth(d) = 3, '08:00', '09:00')                         AS beijing_afterhours_end,\n    dateDiff('day', today(), d)                                  AS days_away\nFROM\n(\n    SELECT arrayJoin([\n        toDate(concat(toString(y), '-03-01'))\n            + ((7 - toDayOfWeek(toDate(concat(toString(y), '-03-01')))) % 7) + 7,\n        toDate(concat(toString(y), '-11-01'))\n            + ((7 - toDayOfWeek(toDate(concat(toString(y), '-11-01')))) % 7)\n    ]) AS d\n    FROM (SELECT arrayJoin([2026, 2027, 2028]) AS y)\n)\nWHERE d >= today()\nORDER BY d\nLIMIT 5","computed_at":"2026-09-27T15:47:22.944379+00:00","elapsed":0.046347757}