find time between 2 date in php in minutes code example
Example: get hours difference between two dates in php
$hourdiff = round((strtotime($time1) - strtotime($time2))/3600, 1);
$hourdiff = round((strtotime($time1) - strtotime($time2))/3600, 1);