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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Convert hours to days ...
Power Apps
Answered

Convert hours to days and hours

(0) ShareShare
ReportReport
Posted on by 122

Hi

I'm building a leave request app, and I want to convert a numerical value, corresponding to the number of workday hours, into a label showing how many days and hours the user has left.

 

In this case, each workday has 8 hours, so for example if the user has 165 hours left, I want that to translate to 20 days and 5 hours (although the operation 165 / 8 = 20.625 ends with a decimal).

Any suggestion on how can I convert this to days and hours remaining?

Much appreciated 

Categories:
  • Verified answer
    Ramole Profile Picture
    Super User 2024 Season 1 on at
  • PedroFernandes Profile Picture
    122 on at

    @Ramole 

    Thank you for the link. I've read it and I think it might be the answer for my problem.

    I'll re-read it and try to implement it tomorrow with a clear head (it's very late right now), and accept your answer as solution by then.

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    @PedroFernandes 

     

    Your welcome

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard