datetime insert using now()
| From: | bill | Date: | Tue, 11 Dec 2001 15:47:31 +0000 |
| Subject: | datetime insert using now() | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14927@lists.php.net to get a copy of this message | ||
I'm trying to insert information into a datetime field in a MySQL
database with the following:
INSERT INTO thisdb (event) VALUES ((now() + 3600);
But it only works sometimes. Why sometimes? What would be a better way
of doing it?