Closed alessioalex closed 10 years ago
console.log((new timezoneJS.Date(2014, 3, 10, 11, 11, 'America/New_York').getTime() - new timezoneJS.Date(2014, 3, 8, 11, 11, 'America/New_York')) / (1000 * 60 * 60));
The result will be 48 hours, but the DST changes occur on March 9th, so is this a bug?
Nevermind, the month argument was wrong: it should have been 2 instead of 3 for March duh.
The result will be 48 hours, but the DST changes occur on March 9th, so is this a bug?