function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
iqbaliqbal 

How to change date formats in javascript

Hi ,

 

I have a requirement where I need to change an existing date format(yyyy-mm-ddThh:mm:ss) into (dd-mm-yyyy hh:mm). I used the format() of the SimpleDateFormat class but iam not getting the result. Could anyone please help me for the same?

 



Message Edited by iqbal on 12-11-2007 04:54 PM
DevAngelDevAngel
There are many scripts available for parsing dates into different formats.  Google javascript format date and you should find plenty to choose from.