Possible Duplicate:
Formatting a date in JavaScript
I'm using Javascript. My data contains timestamp like this:
2013-01-08T06:17:37+03:00
I want to display it in clear format, it should be: 2013-01-08 06:17:37
no need to other info.
I tried SimpleDateFormat
and .toUTCString()
with no luck