cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gwill1983
Helper IV
Helper IV

Date Format on Approval Flow

Hi all,

 

I have an approval flow which takes a form response, adds the responses to a sharepoint list and sends an approval request. It seems that somewhere along the line date formats are changing and are returning dates in a yyyy/mm/dd format. 

 

I have found several solutions for date formats previously, but all of these are causing my flow to fail so hoping somebody can help me understand how to fix this.

 

My flow currently looks as below:

Gwill1983_0-1646922595280.pngGwill1983_1-1646922649594.png

 

What I am trying to do is change the 'request date' and 'invoice date' into dd/mm/yyyy format after the 'Add Item To Credit Request Response List' step so that I can use the outputs from this in the later email steps.

 

I am sure it is a simple fix, but it is driving me round the bend!

 

Any help would be appreciated

 

3 REPLIES 3
leyburn19
Memorable Member
Memorable Member

put the date field in an expression formatDateTime(datefield,'d/MM/yyyy')   

 

note must put Upper M

Gwill1983
Helper IV
Helper IV

Do you mean in a compose action?

leyburn19
Memorable Member
Memorable Member

You can,  but it should be just in the mail itself where you have the date fields

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,121)