How to format JSON date in Javascript?
Posted
by 99miles
on Stack Overflow
See other posts from Stack Overflow
or by 99miles
Published on 2010-03-26T19:26:22Z
Indexed on
2010/03/27
0:43 UTC
Read the original article
Hit count: 335
I'm passing a date from Ruby to Javascript via JSON.
It comes into Javascript as "2010-03-24T10:00:00Z".
Now, how the heck do I format that in Javascript?
© Stack Overflow or respective owner