Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to convert whole numbers into seconds then amounts of time?

I have a table that contains seconds of time for calls but it is as whole numbers as below.  I am trying to convert this into quantity of time like hours:minutes:seconds

Data stored:

7635

31

9690

Would like to convert to:

7635   = 2:07:15 

31      = 00:00:31

9690   = 2:41:30

Thank for the help.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

=Time(Time#('9690','ss'),'hh:mm:ss') ---------2:41:30

View solution in original post

3 Replies
tresesco
MVP
MVP

=Time(Time#('9690','ss'),'hh:mm:ss') ---------2:41:30

Anonymous
Not applicable
Author

Don't you just love when you ask a question and 30 seconds later you find the answer you were looking for.

=interval(interval#(sum(FieldName),'ss'),'d hh:mm:ss')


Anonymous
Not applicable
Author

Tres, thanks for the extremely quick response.  I see as always, there are many ways to skin a cat.