I have these strings as $remaining_time:
"3h5m"
"4h9m"
"15m"
"17h"
"6d17h"
What I want to do is be able to parse through them and output the results in unix format so I can add them up to my $start_time (in unix timestamp) to get the end time.
Any suggestions how I can do this?
Thanks.
John