note 35703 deleted from function.getdate by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 03:08:54 +0000 |
| Subject: | note 35703 deleted from function.getdate by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142026@lists.php.net to get a copy of this message | ||
Note Submitter: intronis
----
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.