RE: [PHP] date for mysql[Scanned]
| From: | Michael Egan | Date: | Fri, 17 Oct 2003 13:41:35 +0000 |
| Subject: | RE: [PHP] date for mysql[Scanned] | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-166460@lists.php.net to get a copy of this message | ||
Diana,
Have a look at the getdate() function.
This will return an associative array of a time which you can then use to create the date in the
format you wish.
Regards,
Michael Egan
-----Original Message-----
From: Diana Castillo [mailto:diana@interhotel.com]
Sent: 17 October 2003 14:29
To: php-general@lists.php.net
Subject: [PHP] date for mysql[Scanned]
how can I format the current date and time so that I can insert it into a
mysql table with an insert query?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php