RE: [PHP-DB] Function to convert a Date String to a MYSQL TimeStamp
| From: | Bastien Koert | Date: | Sun, 08 May 2005 14:24:41 +0000 |
| Subject: | RE: [PHP-DB] Function to convert a Date String to a MYSQL TimeStamp | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-39388@lists.php.net to get a copy of this message | ||
strtotime
bastien
From: Graham Anderson <grahama@siren.cc> To: php-db@lists.php.net Subject: [PHP-DB] Function to convert a Date String to a MYSQL TimeStamp Date: Sat, 7 May 2005 18:06:12 -0700 I need to batch convert a bunch of date strings into mysql time stamps: If I have the following: May 7, 2005, 7:29 pm how do I convert that to a MySQL Timestamp like: 20050507192957 many thanks g -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php