note 35703 added to function.getdate

From: Date: Thu, 11 Sep 2003 15:04:23 +0000
Subject: note 35703 added to function.getdate
Groups: php.notes 
Request: Send a blank email to php-notes+get-56155@lists.php.net to get a copy of this message
When adding a timestamp to a database from php, be carefule because if your DB Server is a different computer than your webserver, the NOW() function in the SQL will use the DB Server's time, and not the web server's. You can use NTP to synch the times on both computers. ---- Manual Page -- http://www.php.net/manual/en/function.getdate.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35703 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35703&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35703&report=yes

« previous php.notes (#56155) next »