cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hamidhd
Frequent Visitor

Ms form to pdf

Hi,

Please how can I change the date format from yyyy-mm-dd to dd-mm-yyyy?

Screenshot_2022-02-24-20-19-03-19_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

Thanks.

 

 

7 REPLIES 7
v-yujincui-msft
Community Support
Community Support

Hi @Hamidhd ,

 

You might consider using the function formatDateTime().

https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#f...

 

I have made a test for your reference.

 

formatDateTime(utcNow(),'yyyy-MM-dd')
formatDateTime(outputs('Compose'),'dd-MM-yyyy')

 

vyujincuimsft_0-1646630872121.png

Result Screenshot:

vyujincuimsft_1-1646630917318.png

 

Best Regards,

Charlie Choi

Hamidhd
Frequent Visitor

Thanks for your reply,

It's not working for me, please could you fix it, here it is my flow:

Form to pdf 

 

Thanks for your reply,

It's not working for me, please could you fix it, here it is my flow:

Form to pdf 

@Hamidhd we can't fix your flows, you have to do that, we can only advise. When you say "it's not working" what is happening, or what error messages are you getting?

 

Rob
Los Gallardos

There is no error, but the date didn't change.

v-yujincui-msft
Community Support
Community Support

Hi @Hamidhd ,

 

Could you please provide more details and some screenshots? That will make it much easier to assist.

What is the source of the date you need to format?

Where do you write your expressions?

Where does the formatted date need to be displayed?

 

Best Regards,

Charlie Choi

Screenshot_2022-03-09-16-56-56-92_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

Screenshot_2022-03-09-17-14-53-97_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

Screenshot_2022-03-09-17-14-06-95_40deb401b9ffe8e1df2f1cc5ba480b12.jpg

  

Screenshot_2022-03-09-17-16-43-59_e2d5b3f32b79de1d45acd1fad96fbb0f.jpg

  •   

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT 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.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (4,718)