RE: [PHP] Formating datevariables...

From: Date: Mon, 22 Jul 2002 23:50:45 +0000
Subject: RE: [PHP] Formating datevariables...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-108960@lists.php.net to get a copy of this message
Why not let mysql do it? It has a function do to exactly that, I think... But php's date() is the function you're looking for... -----Original Message----- From: Ragnar [mailto:ragnar@chello.no] Sent: Monday, July 22, 2002 4:42 PM To: php-general@lists.php.net Subject: [PHP] Formating datevariables... I have a column in a mysql table with a timestamp. The value of this column is for instance: 20020722185242 How do i change the format on this to "DDMMYYYY" (22072002) in php? Thanx -R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#108960) next »