Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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.