What are you trying to do? Compare dates from where to what? To the current time, to times in a database???
strtotime() and UNIX_TIMESTAMP() are probably going to be part of your solution, but I don't know what your doing. ---John Holmes... > -----Original Message----- > From: Brian McGarvie [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 23, 2002 7:22 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Date/Time... > > OK, give up.. been trying to compare dates in the format; > > 2002-05-23 12:19:34 > > I just cant workout how to compare, I've converted to a timestamp - but > the resulting timestamp was wrong. > > Any help much appreciated... > > TIA... > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php