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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

convert seconds in h:mm:ss

i have a field having time in Seconds, i want to convert it to h:mm:ss,

Please suggest the best approach

Regards

12 Replies
sasiparupudi1
Master III
Master III

=interval(Interval#(7270 ,'s'),'hh:mm:ss')

MarcoWedel

i‌f your seconds might equal more than 1 day, you should use interval instead of time:

Interval(SecondsField/86400,'h:mm:ss')

regards

Marco

wonkymeister
Creator III
Creator III

my expression

Sum(mySeconds) / (60*60*24)

then in the Number tab, format as time.

Jobs a good'n