RE: Function to convert a Date String to a MYSQL TimeStamp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



strtotime

bastien

From: Graham Anderson <grahama@xxxxxxxx>
To: php-db@xxxxxxxxxxxxx
Subject:  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


-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux