note 34453 added to function.date

From: Date: Mon, 28 Jul 2003 09:08:57 +0000
Subject: note 34453 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-52820@lists.php.net to get a copy of this message
Yes it is, but if you have to make a sorting (for exemple in using SQL request for a forum), it won't work correctly.... Prefere this one : date("Y.m.d H:i:s") In fact the houre ca't be in the first place because if a post is from a diferent day and a houre earlyer in the morning, it will be print before the other.... ---- Manual Page -- http://www.php.net/manual/en/function.date.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34453 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34453&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34453&report=yes

« previous php.notes (#52820) next »