JElster
asked on
JSON - How to format a Date String
Hi.
I have web service that returns a value like
/Date(1357142400000)/
How can I format like 'Jan 2 11:00 AM'
When I tried using the Date() it returns
"Wed Jan 02 21:46:20 2013" Which can't be correct.
I have web service that returns a value like
/Date(1357142400000)/
How can I format like 'Jan 2 11:00 AM'
When I tried using the Date() it returns
"Wed Jan 02 21:46:20 2013" Which can't be correct.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Use then one or more between these functions and the JS string functions to create a customised date string.
ASKER
I still don't see how to do it.