Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Convert Seconds Days Hours Minutes Seconds
Does any have the code to convert the time in seconds to Day(s)/Hour(s)/Minute(s)/Second(s) to make reports with
Example
356556 = 4-Days 3-Hours 2-Minutes 36-Seconds
time = 356556 days = time / 86400 hours = (time / 3600) - (days * 24) minutes = (time / 60) - (days * 1440) - (hours * 60) seconds = time mod 60 title = StrCat(time," seconds = ") msg = StrCat(days," Days", @crlf, hours," Hours", @crlf, minutes," Minutes",@crlf,seconds," Seconds") Message(title,msg)
Article ID: W15716
File Created: 2003:05:13:11:29:48
Last Updated: 2003:05:13:11:29:48