Hi All, I want to convert my date time format from 2012-07-23 15:50:56 this format to 23 July 2012, 3:30 PM how can I do that using java scriptdn functions?
Date Time Conversion is very simple in javascript. This link may be helpful : http://blog.stevenlevithan.com/archives/date-time-format
I want to convert my date time format from 2012-07-23 15:50:56 this format to 23 July 2012, 3:30 PM Any straightway functions available
You can download the script from this link : http://blog.stevenlevithan.com/archives/date-time-format Include it in your page in the HEAD tag using this : <script src="date.format.js"></script> Code (markup): Then use the following to format: dateFormat(yourTime, "d mmmm yyyy, h:MM TT"); Code (markup): Hope this makes it clear.
It is never simple! GMT, UTC, daylight savings, server time, client time, epoch time, millis... Trial and error, educated guess