Re: Automating Date in mySQL
| From: | Joe Van Meer | Date: | Sun, 03 Feb 2002 01:40:37 +0000 |
| Subject: | Re: Automating Date in mySQL | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-16455@lists.php.net to get a copy of this message | ||
hi there. if you are unable to set it on the db end why not insert/update
the current date along with your insert and update queries?
hth joe :)
Todd Williamsen <todd@williamsen.net> wrote in message
news:20020202194907.50924.qmail@pb1.pair.com...
> I want the date to automatically be updated. So if a post was made on
> 2/10/2001 I would like it to put it automatically in the database.
>
> I do have a column called "Date" and the datatype is set to date. But
when
> I add a record even if the sql states to insert the date it doesn't, or
does
> the date need to be manually added?
>
> Thanks
>
>