Link to home
Start Free TrialLog in
Avatar of amara_78456
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'' "
ASKER CERTIFIED SOLUTION
Avatar of heddesheimer
heddesheimer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial