cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ahmadbutt
Level: Powered On

Date changes when I create a .txt file?

date.PNGdate1.PNG

How to get the 10-10-2019 as the date, instead of 43748?

 

I hope someone can help me out.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Date changes when I create a .txt file?

Hi @ahmadbutt 

 

Try using the below expression

 

formatDateTime(addDays('1899-12-30',int(items('Apply_to_each')?['Datum'])),'dd/MM/yyyy')
 


Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



View solution in original post

2 REPLIES 2
Super User
Super User

Re: Date changes when I create a .txt file?

Hi @ahmadbutt 

 

Try using the below expression

 

formatDateTime(addDays('1899-12-30',int(items('Apply_to_each')?['Datum'])),'dd/MM/yyyy')
 


Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



View solution in original post

Highlighted
ahmadbutt
Level: Powered On

Re: Date changes when I create a .txt file?

Thanks @abm !

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (3,860)