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 / String was not recogni...
Power Apps
Unanswered

String was not recognized as a valid DateTime

(0) ShareShare
ReportReport
Posted on by

Hi, everyone.

 

I´m using an application in Powerapps connected with a Power Automate flow. This flow creates items in a SharePoint list.

 

I´m having the following problem when I try to execute the flow: "String was not recognized as a valid DateTime".

The only date item I send to Power Automate is the function Now(), which I use to represent the exactily time the user presses the button that triggers the flow.

 

It is weird because the entire app worked very well for a while and suddenly this error message started to pop up.

 

I´ve already tried to change the Time Zone in SharePoint but the error still persists.

 

Can anyone help me, please?

 

Thanks in advance.

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    You can try using the Text() function to alter the DateTime formatting to match what SharePoint would expect.

    Text( Now(), "mm/dd/yyyy hh:mm:ss" )

    This question may be better suited for the PowerAutomate community.

    https://powerusers.microsoft.com/t5/General-Power-Automate/bd-p/MPAForum

     

    ---
    If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.

  • Community Power Platform Member Profile Picture
    on at

    It didn't work. I am using another flow with the same function and this one works.

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard