See http://www.php.net/manual/en/function.mktime.php to make unix time stamps from the date/times. It's an integer denoting the number of seconds that have passed since the Unix Epoch (1/1/1970 0:00). The greatest integer is the later date/time
Ross > -----Original Message----- > From: Sandeep Murphy [mailto:[EMAIL PROTECTED]] > Sent: 13 August 2002 16:39 > To: Php-Windows > Subject: [PHP-WIN] date and time > > > hi, > > I have the date and time coming from 2 columns of 2 different > tables.. What wud be the easiest way to get the greater of the two ??? > > so i hv to format the date and time ??? > > thnx, > sands > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php