RE: [PHP-DB] How to convert Date to UnixTimeStamp
| From: | Niklas Lampén | Date: | Fri, 31 May 2002 06:49:17 +0000 |
| Subject: | RE: [PHP-DB] How to convert Date to UnixTimeStamp | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-19551@lists.php.net to get a copy of this message | ||
In mySQL query use UNIX_TIMESTAMP('2001-12-31').
Niklas
-----Original Message-----
From: Jack [mailto:nedcor4@nedcor.com.hk]
Sent: 31. toukokuuta 2002 9:31
To: php-db@lists.php.net
Subject: [PHP-DB] How to convert Date to UnixTimeStamp
Dear all
I had a table which store the date input by user, eg : 2001-12-31 How i
can convert it back to Unix time Stamp?
I got to do so for comparsion of date! Thx a lot!
Jack
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php