web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Convert decimal number...
Power Apps
Answered

Convert decimal number to hh:mm:ss

(0) ShareShare
ReportReport
Posted on by 411

Hello Community!

 

How can I convert a decimal value to Hours with minutes and seconds? 

 

Example:

 

0.34949074 to 08:00:25 

Categories:
I have the same question (0)
  • Verified answer
    jadhav_ravi_oo7 Profile Picture
    276 on at

    Kindly Use Below Formula On - on text property

    formula- 

    RoundDown( Mod(0.34949074*24*60,3600)/60,0) & ":" &Int(Mod(0.34949074+86400,60)) & ":" & RoundUp((0.34949074+86400)/3600,0) 

     

    Kindly Accept the Solution and Give Kudo

     

    Thanks & Regards,

    Ravindra Jadhav

    Independent Consultant | Freelancer 

    +91-9146152149

    Connect Me On Different Platforms

    LinkedIn || YouTube ||Blogger ||

    jadhav_ravi_oo7_0-1694540515426.png

     

     

     

     

  • CarlosFigueira Profile Picture
    on at

    Is 0.34949074 supposed to be a fraction of a day? If that's the case, then you can use the formula below:

    Text(Time(0, 0, 0.34949074 * 24 * 60 * 60), "hh:mm:ss")

    Notice that it will not return 08:00:25 (that would be equivalent to something like 0.333622685, as 0.33333333 would be 08:00:00, and 25 seconds would add about 0.00028935 to that value), but it will return 08:23:15 instead.

  • HectorOlivos Profile Picture
    411 on at

    Nop, it´s not a fraction of a day 🙂 it's the sum of time of machines that are not running.  

     

    This is the original values that I wanted to recreate from a QlikView Table 

    HectorOlivos_0-1694555618310.png

    In qlikview i can convert that decimal with an interval function and it gives the 08:23:16  

     

    But i noticed is not matching in powerapps 

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard