Hello,
Mans was never the best at the old mathEMATICS at school so he is stuck on problem.
How does one convert X seconds into a nicely formatted Days, Hours, Minutes and seconds
I get you can convert a timespan into ticks, days, hours. minutes, seconds ect. with SKstuff but only works when you convert a timespan into a single hour or minute.. This does not work
Set {_test} to "86400 Seconds" parsed as timespan to converted days, hours, minutes and seconds
Just returns 1 day, 1 hour, 1 minute, 1 second
I read up on integer division and some operator like % but then got confused and gave up
Much help would be appreciated.
I'm also aware you can display a timespan but it does not display Days, Hours, Minutes and seconds. all at once.
Mans was never the best at the old mathEMATICS at school so he is stuck on problem.
How does one convert X seconds into a nicely formatted Days, Hours, Minutes and seconds
I get you can convert a timespan into ticks, days, hours. minutes, seconds ect. with SKstuff but only works when you convert a timespan into a single hour or minute.. This does not work
Set {_test} to "86400 Seconds" parsed as timespan to converted days, hours, minutes and seconds
Just returns 1 day, 1 hour, 1 minute, 1 second
I read up on integer division and some operator like % but then got confused and gave up
Much help would be appreciated.
I'm also aware you can display a timespan but it does not display Days, Hours, Minutes and seconds. all at once.