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 Apps
Answered

Bug on Now() ?

(0) ShareShare
ReportReport
Posted on by 69

I think for some reason my 

Now()

function is bugged.
It does not update the hours... Its Now() 21:27, app says its 21:22...

Anyone with same issue?

Categories:
  • SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at

    Hi @PedroK 

     

    A label control with Label1.Text = Now() will not change while your app is active.

    Only closing and reopening the app will result in a new value.

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • PedroK Profile Picture
    69 on at

    Hello @SpongYe 

    Thanks for the feedback!
    Is there any way of making the time update (like a normal computer clock?)

    Many thanks

  • SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at

    Hi @PedroK 

     

    The documentation has a guide for that:

    https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-now-today-istoday#display-a-clock-that-updates-in-real-time

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • PedroK Profile Picture
    69 on at

    Dear @SpongYe 

    Thanks again for your help.
    Sadly it does not work.

    PedroK_0-1696713154824.pngPedroK_1-1696713172602.png

    using the exact same fx from the link you provided me

    Text( CurrentTime, LongTime24 )

    Tried to copy and manually type, same error returns.

    Any advice?

    Many thanks



  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @PedroK ,

    You mean something like this

    ResetTime.gif

    I have added seconds to demonstrate it works - you can use any time format you want. OnSelect of the button (again trigger this however you need)

    UpdateContext(
     {
     varTime: 
     Text(
     Now(),
     "dd/mm/yyyy hh:mm:ss am/pm"
     )
     }
    )

    then the Default of whatever control you want to use this on is

    varTime

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • PedroK Profile Picture
    69 on at

    Hello @WarrenBelz 

    No, the idea is if its possible to have a full automatic functioning clock inside my app.
    Without the need of me clicking any button or link or similar.
    A normal lets say, windows clock, that runs for its own and shows us the accurate time (Date&hours+minutes at least)

    Many thanks

  • Verified answer
    WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    @PedroK ,

    You mean like this

    TimeClock.gif

    A little more to do here - put this at Screen OnVisible

    UpdateContext({varTimer: false});
    UpdateContext({varTimer: true})

    insert a Timer Control with the following settings

    Start

    varTimer

    Repeat

    true

    Duration

    1000

    OnTimerEnd

    UpdateContext(
     {
     varTime: 
     Text(
     Now(),
     "dd/mm/yyyy hh:mm:ss am/pm"
     )
     }
    )

    or whatever time format you want to display.

    Then the Default of your control displaying the time is

    varTime

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • PedroK Profile Picture
    69 on at

    Only thing left to do was autostart to true, and perfect.
    Thanks!

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard