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 Automate
Unanswered

dd/mm/yyyy

(0) ShareShare
ReportReport
Posted on by 725

Hi all

Painfully new at Power Automate

But I have a flow that is almost good but when I compose a date from a Sharepoint list, it changes it from 2021-05-27 to 27/00/2021. Not sure what is happening to the month. This is the expression. formatDateTime(outputs('Compose'),'dd/mm/yyyy')

 

Thank you for any help

Categories:
I have the same question (0)
  • PrasadAthalye Profile Picture
    on at

    Use MM (caps) instead of mm (Small). It will work.

  • swathirajan Profile Picture
    93 on at

    Hi,

     

    Have you tried changing it other format like mm/yyyy/dd and see how it displays the date?

     

    Here is the format that I use for my flows:

     

    formatDateTime(outputs('Create_an_approval')?['body/requestDate'], 'dd MMM yyyy')

     

     

     

    -------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up

  • Verified answer
    Pstork1 Profile Picture
    68,707 Most Valuable Professional on at

    mm (lowercase) retrieves the minutes.  MM (uppercase) retrieves the Month.  The formula should be:

    formatDateTime(outputs('Compose'),'dd/MM/yyyy')

     

  • R Bakker Profile Picture
    725 on at

    Soo simple

    Thank you Pstork1

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard