I'm getting aggregate values of time passed from DB in formats such as
"84:00:00"
"14:30:00"
"20:00:00"
"02:00:00"
"120:00:00"
and I need to convert that to integer values as follows:
84
14.5
20
2
120
is there any way to achieve this (rather simply); to my understanding strtotime() returns false if the value is greater than 24:00:00