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

Community site session details

Session Id :
Power Automate - Building Flows
Answered

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

(0) ShareShare
ReportReport
Posted on by

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?

I have the same question (0)
  • Verified answer
    ScottShearer Profile Picture
    25,240 Most Valuable Professional on at
    Re: How do I convert 'mm/dd/yyyy' to 'mmddyyyy' ?

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

  • BiPHiT Profile Picture
    34 on at
    Re: How do I convert 'mm/dd/yyyy' to 'mmddyyyy' ?

    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
    on at
    Re: How do I convert 'mm/dd/yyyy' to 'mmddyyyy' ?

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 691 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 431 Moderator

#3
developerAJ Profile Picture

developerAJ 266

Last 30 days Overall leaderboard