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 / How do I convert 'mm/d...
Power Automate
Answered

How do I convert 'mm/dd/yyyy' to 'mmddyyyy' ?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a date that I need to convert from mm/dd/yyyy to mmddyyyy.  I can't figure out how to do it.  Can someone please help?

Categories:
  • Verified answer
    ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @Anonymous Try this expession formatDateTime(your date here,'MMddyyyy')

  • BiPHiT Profile Picture
    34 on at

    I would use the following expression: 

    formatDateTime(variables('DATEwrong'), 'MMddyyyy')

    I hope the pictures make it more clear what i mean.

     

    Greetings Michael

    BiPHiT_0-1599351499459.png

     

    BiPHiT_1-1599351563376.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you both. I tried that before I posted and couldn't make it work for some reason.  It works now.  Thanks!!

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 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard