How do I parse a UTC date format string to local date time?

Posted by Brian Scott on Stack Overflow See other posts from Stack Overflow or by Brian Scott
Published on 2010-03-22T09:09:14Z Indexed on 2010/03/22 9:11 UTC
Read the original article Hit count: 535

Filed under:
|
|
|
|

I'm currently using the jQuery fullcalendar plugin but I've came across an issue regarding daylight savings time in Britain. After the daylight savings take effect the hours are being displayed an hour out of phase.

The problem appears to be with the plugins parsing function. Can someone please provide me with the funciton to parse a UTC string which includes the 'Z' demonination into a local date time for display?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about utc