Hi
All
I want to get the hours and minutes between two dates
example
<?php
$day1 = “2012-04-25 16:20:20”;
$day1 = StrToTime($day1);
$day2 = “2012-04-25 18:37:30”;
$day2 = StrToTime($day2);
echo $diffHours = round(($day2 - $day1) / 3600);
?>
I am able to get hours
but i want to get hours and minutes
Please help me out
Thanks
MD. Samiuddin