Date comparison

From: Date: Wed, 04 Feb 2004 09:33:57 +0000
Subject: Date comparison
Groups: php.general 
Request: Send a blank email to php-general+get-176771@lists.php.net to get a copy of this message
Hi I want to substract $first_date to $second_date and print the result this way : xx days, xx hours, xx minutes i tried (strtotime($second_date)-strtotime($first_date)) but what i get is a timestamp and i dont know what to do with it Is there already a function to print the result in a human readable way ? Thx

« previous php.general (#176771) next »