cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dmistry
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
v-bofeng-msft
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
mdevaney
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."

v-bofeng-msft
Community Support
Community Support

Hi @dmistry :

Please try this code:

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

View solution in original post

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,939)