web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / DateTime Format - Error
Power Apps
Unanswered

DateTime Format - Error

(0) ShareShare
ReportReport
Posted on by

Hi,

I have created a Text Input in power apps & under default condition i have set Text( Now(),"[$-en-US]mm/dd/yyyy"). 

I am getting an error when updateif button is used. 

I have herewith attached the screenshot error.

 

Mustang_2-1666868751095.png

 

 

Mustang_0-1666868498728.png

 

Any help appreciated!!!

 

Categories:
I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Your collection expects a Date. And in the text input by using text function you have converted into a string. Hence the error. You can change the data type in your collection. Make it expect a string. Or you can take one hidden text input and don't convert it's data into text. Use this hidden text input to patch the date into the collection.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard