Skip to content Skip to sidebar Skip to footer

Javascript Date Issue, Incorrect Timezone

I got this strange JavaScript bug that I can seem to work arround or fix. I am using some code to make 2 JavaScript dates, to insert events into a calendar component. The dates are

Solution 1:

The answer was indeed the difference in the daylight savings time, which I completly oversaw. Thanks to finding this out I also found a solution to my problem.

I used this link to further assist me, might it help someone in the future: http://javascript.about.com/library/bldst.htm

Cheers!

Post a Comment for "Javascript Date Issue, Incorrect Timezone"