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 / Date picker now() not ...
Power Apps
Answered

Date picker now() not refreshing

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I've been looking other threads & Google for help on this issue, but i cannot find something similar so i decided to ask for help.

 

I'm creating a simple app, for registering customer visits. There is a main screen with 3 buttons and when the customer clicks on "Register Visit" a screen with a form (linked to a excel datasource, hosted in Onedrive) with the requested fields is shown.

In this form, i have a DataCard for picking a date. This datacard has 3 boxes for setting the date, one for selecting the day, one for selecting the hour and the last box for selecting the minutes.

I have set the "DefaultDate" on those 3 boxes (DateValue1, HourValue1, MinuteValue1) to the "Now()" function, but this only seems to refresh the data when i open the app for editing in PowerApps Studio. Even if i run the app, the date shown is not refreshed.

I mean, if i start editing the app at 10:00, when i look at the screen in which this control is, the date shown is correct:

DateValue1: 29/09/2017

HourValue1: 10

MinuteValue1: 00

 

But if i wait some minutes and i run the preview of the app, those values are not refreshing.

I've tried reseting the form with the "OnVisible" event of its screen but this doesn't work... any ideas?

 

What i want to achieve, is to register the actual time in which a Customer Visit is registered

Categories:
  • Verified answer
    Venxir Profile Picture
    125 on at

    Hi,

     

    Build a timer which sets a variabele with Now() and let it fire every 5 seconds or something like that. Then use that variable in your DefaultDate.

     

    This behaviour is inherent to the design of PowerApps, it's Data-driven and not event-driven.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for your answer. It has been very helpful.

     

    Finally i have taken your idea, but i've replaced the date pickers for a single textbox.

    I was having trouble making the hour and minutes pickers working with that variable, but the DatePicker works as you said, but as i don't want to let the users change the date, using a textbox instead is fine.

     

    Regards

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 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard