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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Text based date arrivi...
Power Automate
Unanswered

Text based date arriving in 2 formats is breaking a flow... (2022/01/13 & 13-01-2022)

(0) ShareShare
ReportReport
Posted on by 116

Hi, i've inherited a flow that's suddenly started to fail. Some other system is adding text dates to a SP list

 

The_blue_0-1650441137498.png

 

Currently there's a set variable: 

split(items('Problem_Date')?['Effective_x0020_Start_x0020_Date'], '-')
 
Followed by a compose:
formatDateTime(concat(variables('DS')[0], '-', variables('DS')[1], '-', variables('DS')[2]), 'yyyy-MM-dd')
 
This is failing out on the dates with slashes. 
 
How can i get the output of the compose to be correct for both variants? 

 

Categories:
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @The_blue ,

     

    1\ Is the first date April 9th or September 4th?

    2\ Do you have dates in other formats?

     

    Best Regards,

    Wearsky

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard