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 / Dynamically Get Minute...
Power Apps
Answered

Dynamically Get Minutes for Time()

(0) ShareShare
ReportReport
Posted on by 802

I have a whole number I want to convert to time - ex 570 How Do I use Time to dynamically get the minutes right 

 

=570/60 = 9.5 Which = 9:30 AM 

Time(570/60 ,0,0) makes 9:00 - I don't want to hard code Time(570/60 ,30,0) b/c the time could also be 45 minutes after the hour..... 

 

How do I dynamically get the minutes right? 

 

thx 

 

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @ctedesco3307,

     

    The following function should do the trick. Feel free to replace 570 with a variable in which you store the number to make it dynamic - I used 570 as a test:

    With({minutes:570},Time(Int(minutes/60),Mod(minutes,60),0))

     

    If this solves your question, would you be so kind as to accept it as a solution.

    Thanks!

  • ctedesco3307 Profile Picture
    802 on at

    @LaurensM - perfect! Thank you! 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 514

#2
WarrenBelz Profile Picture

WarrenBelz 419 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 295

Last 30 days Overall leaderboard