[PHP-DB] How to convert Date to UnixTimeStamp

2002-05-31 Thread Jack
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

RE: [PHP-DB] How to convert Date to UnixTimeStamp

2002-05-31 Thread Niklas Lampén
In mySQL query use UNIX_TIMESTAMP('2001-12-31'). Niklas -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: 31. toukokuuta 2002 9:31 To: [EMAIL PROTECTED] Subject: [PHP-DB] How to convert Date to UnixTimeStamp Dear all I had a table which store the date input by user, eg