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 / Round time to nearest ...
Power Apps
Answered

Round time to nearest 15 minute in a text box

(0) ShareShare
ReportReport
Posted on by

Hi,

I just want to display by default in a text box the current time but rounded up to the nearest 15 minute:

e.g. 12:15

 

Thank you

Categories:
I have the same question (0)
  • Verified answer
    EddieE Profile Picture
    4,641 Moderator on at

    @I_Mo 

    Try this

    Text( DateAdd( Now(), 15-Mod(Minute( Now()), 15), TimeUnit.Minutes), "hh:mm AM/PM")

     

  • I_Mo Profile Picture
    on at

    Thank you so much for your prompt help @EddieE .

    Could I trouble you for one more related help.
    I have your above formula in one text box call txtFrom.
    How can I create the formula for a second textbox which will take the time from txtFrom and add 30 minutes to it?

  • Verified answer
    EddieE Profile Picture
    4,641 Moderator on at

    @I_Mo 

    This worked for me

    Text( DateAdd( txtFrom, 30, TimeUnit.Minutes), "hh:mm AM/PM")
    

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 96 Super User 2026 Season 1

Last 30 days Overall leaderboard