I have a dropdown menu with times like:
8:00am, 8:15am, in 15minute increments.
I have done this code to get the timestamps:
$a="7:15am";
$b="11:00pm";
$stra=strtotime($a);
$strb=strtotime($b);
$diff=($strb-$stra);
Now I need to take that $diff, and format it so it would show 15.75 - any suggestions?
Chris