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 / dd.mm.yyyy date format...
Power Automate
Unanswered

dd.mm.yyyy date formate conversion in MS Flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi PowerUsers,

 

I have a flow where I use a certain date to filter data from SQL, it was working fine until I received a new date format (dd.mm.yyyy) from user. The SQL execute query action fails when this particular format arrives.

Ali_Nawaz_0-1638871118391.png

I tried to convert it before passing to SQL action but I am getting this error.

 

Ali_Nawaz_1-1638871161288.png

This is the expression which I wrote  formatDateTime(triggerBody()['Date_Value'],'yyyy-MM-dd')

 

Kind of stuck on this, looking forward to a helpful response on it.

 

Regards,

Ali Nawaz

Categories:
  • VJR Profile Picture
    7,635 on at

    Hi @Anonymous 

     

    Looks like it doesn't consider dates having dot as a separator.

     

    You might want to take a look at the below link on the 2 options to form the date in the desired pattern.

    https://www.damobird365.com/formatdatetime-and-formatting-a-string-date/

     

  • mahoneypat Profile Picture
    1,720 on at

    What is different from your usual date formats? If it is the '.', you could use the replace function to dynamically replace it with '/' within the formatDatetime.

    Pat

     

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
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard