Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

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

(0) ShareShare
ReportReport
Posted on 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!

  • 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
    RandyHayes 76,287 on at
    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard