Offset time for DST in one specific timezone using JavaScript
- by Shannon
I need to offset the time by an hour if it's currently DST in the Pacific Time Zone. How can I determine the current daylight savings status of the Pacific Time Zone, regardless of the user's local timezone?
Here's what I have so far. "dst" in line 4 is just a placeholder for a function that would tell me if daylight savings time is active in that…