Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Help with convert to Pdf date format

(0) ShareShare
ReportReport
Posted on by 261

I have built a flow whereby I have populated a Word Document from a SharePoint List and convert the Document to Pdf using One Convert File (preview). The document is then attached to an email and distributed to those on the SharePoint list.

 

In testing, everything performed as expected however the list contains dates which are merged onto the document and when I open the Pdf within the email the date format is yyyy/MM/dd.  As I am in the UK and the email recipients will always be in the UK I would like to adjust the format so that the Pdf attachment will have the dd/MM/yyyy format.  Is this something that can be done prior to the covert to Pdf eg through a compose  action and if so could someone please explain to me what to do?  Many thanks for your help. I have attached a screen shot of the flow I have used

 

Ciaran_0-1680862655482.png

 

  • Verified answer
    David_MA Profile Picture
    11,489 Super User 2025 Season 1 on at
    Re: Help with convert to Pdf date format

    When you are populating the Word document, you can use the formatDatetime() expression to format the date fields to your desired format. You can learn more at formatDateTime to Format Dates with Power Automate (sharepains.com)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >