finding the difference

From: Date: Thu, 25 Jan 2001 08:16:20 +0000
Subject: finding the difference
Groups: php.general 
Request: Send a blank email to php-general+get-36579@lists.php.net to get a copy of this message
I have a date and time stored in the following format: day:month:year:hour:minutes Example 27:01:2001:08:13 I want to work out the difference between that and the current time on my server, but I can`t find any math functions in the PHP manual that allows you to work out the diference. In the end I hope to be able to display '2 days 23 hours and 55 minutes' type results, similar to the way in which eLance.com shows the time remaining on a project. Anyone have any suggestion if it is at all possible? Thanks Ade

« previous php.general (#36579) next »