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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
dukane24
Contributor III
Contributor III

Include number of days in time format

Hello,

I am looking to simply add the number of days to a H:MM:SS time format.  I have noticed using this format that if the number of hours is greater than 24, it shows as 0.

As an example, if the value was 27.5 hours, I would like this to display as 1:03:30:00 (1 day, 3 hours, 30 minutes, 0 seconds).

Thanks for your help!

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Why divide by 24?  Wouldn't it just be:

=interval(Your_field, 'd hh:mm:ss')


-Rob

View solution in original post

2 Replies
sergio0592
Specialist III
Specialist III

Hi, try with :

=interval(Your_field/24,'D HH:mm:ss')

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Why divide by 24?  Wouldn't it just be:

=interval(Your_field, 'd hh:mm:ss')


-Rob