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 / Date formatting in column
Power Automate
Unanswered

Date formatting in column

(0) ShareShare
ReportReport
Posted on by 53

Hello guys, I am trying to format the dates in my CSV file as dd-mm-yyyy. By default its set to mm-dd-yyyy. The dates are being selected in a form which then presents a list and the flow is set to create a CSV file of out of said data every 2 weeks. Is it possible to format the date in the 'Enter value ' column in the flow itself? I have tried using the FormatDateTime expression and that keeps giving me errors. This is what the Select step looks like right now.

I only started using Power Automate yesterday so still trying figure my way around things.

Thanks in advance for the assistance

Categories:
I have the same question (0)
  • Verified answer
    trice602 Profile Picture
    15,402 Super User 2025 Season 2 on at

    Hi @AntrivSingh ,

     

    Yes, I think you can use the expression entry there and enter formatDateTime(item()?['StartDate'],'dd-MM-yyyy').  Please mark as a solution, always glad to help! Tom

  • Verified answer
    creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @AntrivSingh 

    What error are you receiving? The expression should be as follows:

    formatDateTime(item()?['Start date'],'dd-mm-yyyy')

    creativeopinion_0-1691716790268.png

    Note: You will need to confirm the text between the single quotes in the expression above. The easiest way to do this is to temporarily add a Compose action with the dynamic content for the date.

     

    It will automatically get nested into an Apply to Each action (you'll delete it anyway). Click on the three dots and select Peek Code.

    creativeopinion_1-1691716904857.png

     

    Take a look at the text between the single quotes. This is what you need in your expression. Repeat this for the End date.

    creativeopinion_2-1691716959653.png

    Hope this helps!

     

    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok

     

     

     

     

  • AntrivSingh Profile Picture
    53 on at

    Worked like a charm, much appreciated sir.

  • AntrivSingh Profile Picture
    53 on at

    Thank you so much, works just fine

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard