note 14667 added to function.mktime.php
| From: | peinado at nevasport dot com | Date: | Wed, 08 Aug 2001 16:12:49 +0000 |
| Subject: | note 14667 added to function.mktime.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16481@lists.php.net to get a copy of this message | ||
Guess what (mySQL)?
DATE_ADD(NOW(),INTERVAL 7 HOUR) //adds 7 hours to the server´s time when you insert a DATETIME
field in the DB. Very useful for guys living outside the US and using US hosting.
http://www.php.net/manual/en/function.mktime.php