Re: Date Format?
| From: | Steve Ruby | Date: | Wed, 29 Nov 2000 17:32:56 +0000 |
| Subject: | Re: Date Format? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27846@lists.php.net to get a copy of this message | ||
INSERT INTO <sometable> (datefield) VALUES (Now());
Wee Chua wrote:
>
> Hi all,
> I would like to insert the current date into the date datatype field. How
> could I format the Now() into the correct format of date datatype? I would
> like to find the way to do it PHP and MySQL. Thanks in advance for any
> helps.
>
> Calvin Chua
> Systems Analyst
> InterClean Equipment, Inc.
> 734-975-2967
>
> --
> ---------------------------------------------------------------------
> Please check
> "http://www.mysql.com/documentation/manual.php" before
> posting. To request this thread, e-mail mysql-thread57667@lists.mysql.com
>
> To unsubscribe, send a message to:
> <mysql-unsubscribe-steve=rubysolutions.com@lists.mysql.com>
>
> If you have a broken mail client that cannot send a message to
> the above address (Microsoft Outlook), you can use:
> http://lists.mysql.com/php/unsubscribe.php