How do I subtract two time variables from each other with the answer as a decimal number? My time variables look like this: 07:32:00
I am looking for something like this:
$total = $start_time - $end_time
echo "$time Hours";
Output to look like this:
5.3 Hours