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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
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
MVP
MVP

another option would be:

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