cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

Custom date format expression for convert time zone flow action

Hi,

 

for one of the date values, I am using Convert time zone action in flow to get following format: June 15, 2020 so format would be something like: MMMM DD, YYYY. 

I used below expression to achieve the same.

 

formatDateTime(triggerBody()?['DOB'],'MMMM DD, YYYY')
 
However the output I am seeing is returned as (for a sample run with sample date value) : 
Jul20 DD, YYYY

Can someone please help me modify the formula so that I can achieve following: July 20, 2020.

 

Thanks in advance. 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Hi @dmistry :

Please try this code:

formatDateTime(triggerBody()?['DOB'],'MMMM dd, yyyy')
Best Regards,
Bof

View solution in original post

3 REPLIES 3
Super User III
Super User III

@dmistry 
This is a Power Automate question rather than a PowerApps question. You are in the wrong forums. 

Link to Power Automate Community
https://powerusers.microsoft.com/t5/Get-Help-with-Power-Automate/ct-p/FL_GeneralDiscussions


---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Highlighted
Community Support
Community Support

Hi @dmistry :

Please try this code:

formatDateTime(triggerBody()?['DOB'],'MMMM dd, yyyy')
Best Regards,
Bof

View solution in original post

Highlighted

Hi @dmistry :

Has the problem been solved?
Is there anything else I can help?
If my post helps, then please consider Accept it as the solution to help others.Thanks
Best Regards,
Bof

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,731)