RE: [PHP] Reverse mySQL date

From: Date: Tue, 21 May 2002 22:41:27 +0000
Subject: RE: [PHP] Reverse mySQL date
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98666@lists.php.net to get a copy of this message
-----Original Message----- How can I reverse the date coming out of mySQL? ie 2002-05-21 becomes 21-05-2002 Can do it in the mySQL query or do I need to use PHP? -----Original Message----- Have a look at your favourite mysql manual for DATE_FORMAT - this will let you do what you need. CYA, Dave

« previous php.general (#98666) next »