Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

How to solve the Function 'DateValue' has some invalid arguments?

(0) ShareShare
ReportReport
Posted on by 8

Regards,

I am trying to make the calculation of the sum of the current date + date selected using the formula DateDiff (Now (), DateValue ()).

Can someone help me with this error?

 

Attached reference image

Thank you!

 

Example3.JPG

Categories:
  • Verified answer
    Re: How to solve the Function 'DateValue' has some invalid arguments?

    If you want to get the selection from the date picker, you should use its SelectedDate property:

    DateDiff( Now(), DatePicker1.SelectedDate )

    Hope this helps!

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,691

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 65,019

Leaderboard