cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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 @Anonymous :

Please try this code:

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

View solution in original post

3 REPLIES 3
mdevaney
Super User
Super User

@Anonymous 
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 @Anonymous :

Please try this code:

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

Hi @Anonymous :

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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,369)