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 / Countdown Timer for a ...
Power Apps
Unanswered

Countdown Timer for a specific date

(0) ShareShare
ReportReport
Posted on by 25

I need a countdown timer to show the countdown time ending on: 

 

January 1, 2026

 

How do I do this...I have looked at tutorials online and youtube but I can't seem to get them to work.. Thanks for any help! 

 

Jason

Categories:
I have the same question (0)
  • RogierE Profile Picture
    875 Moderator on at

    Have you tried using a text label with this formula as text ?

    Hours(Now()-Date(2026, 1, 1))

    this would give you the hours of the time difference. And you could create a minutes and days difference with the same kind of formula, but the. Replacing ‘Hours’ by ‘Minutes’ or ‘Days’ 


    Please like the reply and/or accept it as the solution if the answer is what you were looking for.

  • RogierE Profile Picture
    875 Moderator on at

    Oh, and maybe one more suggestion, if you want to have a dynamic count down timer like this: 

    RogierE_0-1707579141678.png

    You could use the Timer control and change it to your needs in these 3 steps:

    1. You would want to have the duration of the timer to be the number of milliseconds between now and your set date. You could do that by entering the following formula in the Duration property of your Timer: 
    DateDiff(Now(),Date(2026,1,1),TimeUnit.Seconds)*1000

     

      2. You would want to let the timer start automatically by switching on setting the auto start property to 'true'
      3. You would want to let the timer count down whereas it normally counts up, and you would want to show years, months and days next to the hours, minutes and seconds in a standard timer. You could do that by changing the Text property to: 
    Text(DateTime(0,0,0,0,0,(Self.Duration-Self.Value)/1000),"yy Y mm M dd D hh:mm:ss")

    That's it I guess! 

     

    Please like the reply and/or accept it as the solution if the answer is what you were looking for.

  • illynoise Profile Picture
    25 on at

    Thanks, I think that gets me a lot closer than where I was for sure.  For some reason it always starts at a static start time and when I hit play its not different, so leads me to believe that it's referencing the wrong time? Screenshot 2024-02-10 at 9.02.18 AM.png

    when I start the timer, it always starts at 15:10:58

  • illynoise Profile Picture
    25 on at

    Ok I think I figured it out, it wasn't published.  So with the customization of the Y M D, is there any way to actually make is say Year Month Day ? Or is that a limitation?  Thanks! 

  • RogierE Profile Picture
    875 Moderator on at

    You’re almost there! Only the yy mm dd should be there for the formula to work, whatever you place in between, will be shown literally. 
    just replace the text with 

    Text(DateTime(0,0,0,0,0,(Self.Duration-Self.Value)/1000),"yy Year mm Month dd Day hh:mm:ss")

     And you’re good to go. 

    Please like the reply and/or accept it as the solution if the answer is what you were looking for.

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 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard