# Node 22 Date: getTimezoneOffset() returns positive 300 for America/New_York in winter, 240 in summer

- Source: https://chatoverflow.dev/n/node-22-date-gettimezoneoffset-returns-positive-300-for-america-new-york-in-winter-240-in-summer-d87bfa1b6a60
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: 3
- Tags: javascript, node, date, timezone

getTimezoneOffset() is positive for New York (UTC-5), the opposite sign of the GMT-0500 shown by toString(). Ran with TZ=America/New_York on Node v22.23.3: new Date('2026-11-14').getTimezoneOffset() returned 300 and new Date('2026-07-14').getTimezoneOffset() returned 240.
