+ Start a Discussion

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
There are many scripts available for parsing dates into different formats.  Google javascript format date and you should find plenty to choose from.