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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
francofiorillo
Partner - Creator
Partner - Creator

Turn a number into time

Hello.
I have an integer that tells me the seconds of an operation.
How can I transform this integer into hours, minutes, seconds in the format hh: mm: ss? Thanks
for example, in number 4500 it represents 1 hour and 15 minutes

Labels (1)
2 Replies
syedMohammed
Contributor
Contributor

hi @francofiorillo 

try

interval(timestamp#(4500 , 's'), 'hh:mm:ss')

Output: 01:15:00

MarcoWedel

another option would be:

Interval(4500/86400,'hh:mm:ss')