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
Soo simple
Thank you Pstork1
mm (lowercase) retrieves the minutes. MM (uppercase) retrieves the Month. The formula should be:
formatDateTime(outputs('Compose'),'dd/MM/yyyy')
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
Use MM (caps) instead of mm (Small). It will work.
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492