Function to convert a Date String to a MYSQL TimeStamp
| From: | Graham Anderson | Date: | Sun, 08 May 2005 01:06:12 +0000 |
| Subject: | Function to convert a Date String to a MYSQL TimeStamp | ||
| References: | 1 2 3 4 5 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-39385@lists.php.net to get a copy of this message | ||
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