I have a lis t of values in seconds
seconds=c(139765, 319817, 524729, 1491, 211831, 27571, 15254, 427546, 314016, 9372)
and I want to convert those durations in a timespan format like: hh:mm:ss
I've tried with dseconds
, but shows me:
> dseconds(seconds)
[1] "139765s (~1.62 days)" "319817s (~3.7 days)" "524729s (~6.07 days)"
[4] "1491s (~24.85 minutes)" "211831s (~2.45 days)" "27571s (~7.66 hours)"
[7] "15254s (~4.24 hours)" "427546s (~4.95 days)" "314016s (~3.63 days)"
[10] "9372s (~2.6 hours)"
How can i achieve that? thx in advanced