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 Automate / Validate the Date fiel...
Power Automate
Unanswered

Validate the Date field from the String

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am writing flow to migrate data from SharePoint to Dataverse. The existing SP list is having implementation date as 'String' and since it is free text, users have entered date  value in wrong format. Below are few examples.

AgoS401_1-1668385214150.png

So i need to validate this string if it is valid date format or not. If it is valid date format, then copy value to Data verse date field, else copy to string field.

 

How to validate the if the string is date or not ?

@grantjenkins : Could you please help me on this?

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    I think you could use regular expressions(  [0-3][0-9]\/[0-1][0-9](\/\d\d\d\d)?  ) to match the data sting, 

    I think this link will help you a lot:

    Solved: Automatically identify date in string - Power Platform Community (microsoft.com)

     

    Best Regards,
    Bof

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard