note 54884 deleted from function.date by nlopess

From: Date: Sat, 30 Jul 2005 16:49:39 +0000
Subject: note 54884 deleted from function.date by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-92768@lists.php.net to get a copy of this message
Note Submitter: jtillery at netondas dot com ---- // Prints something like: Wednesday 15th of January 2003 05:51:38 AM echo date("l dS of F Y h:i:s A"); Use this instead: // Prints something like: Wednesday 15th of January 2003 05:51:38 AM echo date("l jS of F Y h:i:s A"); That way if it's the 1st - 9th day of the month you will not get the leading zero.

« previous php.notes (#92768) next »