Monday, June 3, 2024
 Popular · Latest · Hot · Upcoming
106
rated 0 times [  112] [ 6]  / answers: 1 / hits: 46598  / 13 Years ago, sat, february 18, 2012, 12:00:00

I wondering what is the best way to convert a timestamp of this format -



2012-02-18 14:28:32


to a date presentation of this format -



Saturday Feb 2012 14:28:32


Many thanks :)


More From » date

 Answers
5

Javascript date functions are pretty bad... You have the option to convert to UTC http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_toutcstring



But if it was me, i would look into Datejs: http://www.datejs.com/ best javascript date api for me



Please take a look at the getting started with Datejs: http://www.datejs.com/2007/11/27/getting-started-with-datejs/


[#87374] Friday, February 17, 2012, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nikhilh

Total Points: 224
Total Questions: 89
Total Answers: 99

Location: Bahrain
Member since Fri, Sep 16, 2022
2 Years ago
;