Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

seconds to hour/minutes/seconds

I got workhours in seconds 3890478 sec.

Now this most be in 00:00:00

how can I do this ?

thx

2 Replies
Not applicable
Author

Devide your seconds by 86400 and format with the time format codes.

time(<your seconds>/86400, 'hhh:mm:ss')

johnw
Champion III
Champion III

Time() is limited to a 24 hour clock, so I'm guessing we want interval(Seconds/86400,'hh:mm:ss') instead. Obviously the same basic idea, though. Divide by 86400, tell qlikview it is an interval of time, and format as desired.