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

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (67,277)