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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
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