cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SebastianR
New Member

OneDrive converts PDF with wrong Dates

Hello everyone, does anyone know what the problem is that when I convert Excel files into a PDF with Powerautomate (Flow) using the OneDrive function, the date fields "10.01.2021" contained in Excel are converted into US format "01/10/2021" , I've already scoured all regional and language settings and set them to German or Gregorian. I also tried it with Zapier.com, but the result is the same 😞 I would be happy about a solution.

 

THX Sebastian Rothe

1 ACCEPTED SOLUTION

Accepted Solutions
v-yiwenxie-msft
Microsoft
Microsoft

Hi @SebastianR 

 

In my understanding, you want your date field values in excel in OneDrive to be converted from ‘01/10/2021(MM/dd/yyyy)’ into ‘10.01.2021(dd.MM.yyyy)’.

 

If I’ve misunderstood your need, please feel free to let me know.
And could you please take screenshots of your detailed flow?

 

You can simply use the function:

formatDateTime(items('Apply_to_each')?['date'],'dd.MM.yyyy')

 

For more info about the formaDateTime(), please go to the link: Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs

 

The steps are for your reference:

2.11-5.PNG

 

Best Regards,
Community Support Team _ Kira Xie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yiwenxie-msft
Microsoft
Microsoft

Hi @SebastianR 

 

In my understanding, you want your date field values in excel in OneDrive to be converted from ‘01/10/2021(MM/dd/yyyy)’ into ‘10.01.2021(dd.MM.yyyy)’.

 

If I’ve misunderstood your need, please feel free to let me know.
And could you please take screenshots of your detailed flow?

 

You can simply use the function:

formatDateTime(items('Apply_to_each')?['date'],'dd.MM.yyyy')

 

For more info about the formaDateTime(), please go to the link: Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs

 

The steps are for your reference:

2.11-5.PNG

 

Best Regards,
Community Support Team _ Kira Xie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
MPA 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 Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (84,440)