Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
sridhar_sigired
Creator
Creator

Converting seconds into hh:mm:ss format

Hi,

When i check below result in text box

=Time(Time#(Round(86400),'SS'),'hh:mm:ss')

(Ex: =Time(Time#(Round(TotalTimeforCall),'SS'),'hh:mm:ss')

It is showing 00:00:00 format.

However i should get result as 24:00:00

Can anyone help me to get this result?

1 Solution

Accepted Solutions
sunny_talwar

Try with Interval() and Interval#() functions:

=Interval(Interval#('86400','ss'),'hh:mm:ss')


Capture.PNG

View solution in original post

2 Replies
sunny_talwar

Try with Interval() and Interval#() functions:

=Interval(Interval#('86400','ss'),'hh:mm:ss')


Capture.PNG

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Or - because there are 86400 seconds in a day, and QlikView functions expect the numer of days as a parameter - you can simply divide by 86400. One function call less.

Converting seconds into hhmmss format thread236619.jpg