Re: datetime insert using now()
| From: | bill | Date: | Tue, 11 Dec 2001 17:13:28 +0000 |
| Subject: | Re: datetime insert using now() | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-14937@lists.php.net to get a copy of this message | ||
Aha. That seems to work.
thanks,
bill
Charles Lahlou wrote:
> >INSERT INTO thisdb (event) VALUES ((now() + 3600);
>
> try rather VALUES (now() + INTERVAL 3600 SECOND)
>
> charles lahlou
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net