05-31-2011, 12:54 PM
I need the script for displaying date format exactly as below..
eg: if date is may 31 2011 then it has to display as - "2011-05-31"
For example if the date is "01/02/2012" then it should display as "2012-02-01" and it should not display as "2012-2-1"
Please help
eg: if date is may 31 2011 then it has to display as - "2011-05-31"
For example if the date is "01/02/2012" then it should display as "2012-02-01" and it should not display as "2012-2-1"
Please help