note 53869 added to function.date

From: Date: Wed, 15 Jun 2005 16:28:29 +0000
Subject: note 53869 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-90479@lists.php.net to get a copy of this message
There are certain advantages and disadvantages of passing the "dirty job" of formatting datestamps and timestamps to the database server itself, let say mysql. Formatting date/timestamps in the PHP script itself gives you more control in manipulating date and time without requiring another connection to the database to format the date/timestamp for you. ---- Manual Page -- http://www.php.net/manual/en/function.date.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+53869 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53869&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53869&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53869&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53869&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53869&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+53869&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#90479) next »