Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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