
Announcements
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.
Hello @Anonymous
try:
formatDateTime(triggerBody()?['DOB'],'MMMM dd, yyyy')