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

Re: Custom date format expression for convert time zone flow action

Hi @dmistry :

Please try this code:

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

View solution in original post

3 REPLIES 3
Highlighted
Super User
Super User

Re: Custom date format expression for convert time zone flow action

@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

Re: Custom date format expression for convert time zone flow action

Hi @dmistry :

Please try this code:

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

View solution in original post

Highlighted
Community Support
Community Support

Re: Custom date format expression for convert time zone flow action

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
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,999)