Page 1 of 1

date format

Posted: Wed Oct 21, 2009 4:12 am
by adsegzy
Hello People,

How do i code my script to echo my cade in the below format?

2nd May, 2009

02-05-2009

Regards,
adsegzy

Re: date format

Posted: Wed Oct 21, 2009 5:45 am
by Mark Baker

Re: date format

Posted: Wed Oct 21, 2009 5:59 am
by sureshmaharana
date("dS M, Y"); // 2nd May, 2009

date("d-m-Y"); //02-05-2009

Re: date format

Posted: Mon Oct 26, 2009 7:04 am
by josh
Zend_Date is really useful too