Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
fmazzarelli
Partner - Creator III
Partner - Creator III

convert a number to hh: mm: ss

Hi Community,

May I  know how to convert a number to hh: mm: ss?

3 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Format using:

=Time(0.56, 'hh:mm:ss')

=Time(yourField, 'hh:mm:ss')


This assumes a date/time value in units and fractions of a day. If the number is a decimal number of hours, you will need:


=Time(3.75/24, 'hh:mm:ss')

=Time(yourField/24, 'hh:mm:ss')

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
MK_QSL
MVP
MVP

its_anandrjs

You can use Maketime, Time, Time#

From Qlik Help

MakeTime(hh [ , mm [ , ss [ .fff ] ] ] )


Or


Time( TimeField, 'hh:mm:ss' )


Or


Time#( TimeField, 'hh:mm:ss' )


You have another thread related to same


turn the number into hh: mm: ss (10:37:29)


Regards

Anand