i'm trying to get the time in milliseconds from a string that could be with or without hours and without leading zeros, my actual attempts have been useless but here i'll show what i tried to do:
$duration_not_raw2 = date_create("00:00:00")->getTimestamp();
$duration_not_raw = (date_create("1:59")->getTimestamp()) - $duration_not_raw2;
Please keep in mind that 1:59 could also become like 1:05:59 for 1 hour, 5 mins and 59 secs All i want would be to obtain like 95400 from 1:59 that would be the actual milliseconds for it