Skip to main content

Notifications

Community site session details

Community site session details

Session Id : /gTh3yNQQASXZY/h9Qukr/
Power Apps - Building Power Apps
Answered

Date DataCard using the Now() function not working in the first 10 minutes of an hour

Like (0) ShareShare
ReportReport
Posted on 14 Jul 2020 17:27:24 by

Hello, 

I have a Date DataCard that receives values to update a time field in my datasource. I am using the Now() function in the default field to update the Minutes drop down list of the DataCard. For every hour of the day if the time is between 0 to 10 minutes past a given hour the minute drop down list shows "00". Only after the 10 minutes have past it receives a value that corresponds to the time. As a result often my time data is not correct and I have to select the time manually. The items field contains all values from 00 to 59. Is there something I am missing? Or is this a bug?

Thanks!

  • Community Power Platform Member Profile Picture
    on 15 Jul 2020 at 06:51:05
    Re: Date DataCard using the Now() function not working in the first 10 minutes of an hour

    @RandyHayes 
    Thank you very much for the explanation. It is clear to me now why it wouldn't work before.

     

    Yes, indeed this solved the problem.

     

    Many thanks for your help!

  • Verified answer
    RandyHayes Profile Picture
    76,287 Super User 2024 Season 1 on 14 Jul 2020 at 18:34:45
    Re: Date DataCard using the Now() function not working in the first 10 minutes of an hour

    @Anonymous 

    The reason you see this is not a bug, it is because your dropdown has text values in it.  "01" is not the same as 1, whereas "10" will compare with 10 (it's all about how conversion happens in PowerApps)

     

    Have you changed the Default property of the Minute Dropdown?  It should be Text(Minute(Parent.Default),"00") which resolves the 0-10 minute issue.

     

    I hope this helps lead you to the answer.

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,369 Most Valuable Professional

Leaderboard
Loading started