1 2 3 4 5 6 7 8
<?php $dateA = strtotime('2:00'); $dateB = strtotime('3:00'); $difference = $dateB - $dateA; var_dump($difference);
1
int(3600)