amara_78456
asked on
Count time in PHP
How can we count the different time in PHP :
$time1="09/05/2001 17:59:54"
$time2="10/05/2001 18:59:54"
The result will
$time=$time2 - $time1 = "1 day 1h 0' 0'' "
$time1="09/05/2001 17:59:54"
$time2="10/05/2001 18:59:54"
The result will
$time=$time2 - $time1 = "1 day 1h 0' 0'' "
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.