Wednesday, May 23, 2012

One hour offset in JSON dates

Why does this happen?



 new Date(2013, 5, 30).toJSON()
"2013-06-29T23:00:00.000Z"


It looks like one hour offset.



Thanks.





No comments:

Post a Comment