Re: Date Format?
| From: | Joao Prado Maia | Date: | Wed, 29 Nov 2000 23:13:03 +0000 |
| Subject: | Re: Date Format? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27913@lists.php.net to get a copy of this message | ||
On Wed, 29 Nov 2000, HP8570 wrote:
> If you want the to insert the current date in your query do:
>
> INSERT INTO mytable SET Date=CRDATE();
>
> That will enter todays date in the correct mySQL Date format.
Actually that should be "... SET Date=CURDATE();". Just a lil typo over
there.
Joao
--
Joao Prado Maia
Web Developer
Kefta, Inc.
T: (415) 391-6881 ext 8008
F: (415) 391-7079