note 79857 deleted from function.strftime by felipe

From: Date: Tue, 18 Dec 2007 17:40:32 +0000
Subject: note 79857 deleted from function.strftime by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-133759@lists.php.net to get a copy of this message
Note Submitter: tim Reason: 1 ---- If you need to convert a timestamp into a MySQL DateTime string when you don't want to do it in the SQL query here's how to do it: strftime('%Y-%m-%d %H:%M' , (int) $timestamp);

« previous php.notes (#133759) next »