web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / POWER AUTOMATE - Conve...
Power Automate
Unanswered

POWER AUTOMATE - Convert date from array (44551) to integer

(0) ShareShare
ReportReport
Posted on by 12

Hi all,

 

We have built a flow through which,  when an invoice is received by e-mail, is saved in one SharePoint folder, is read using Predict (invoice date/ invoice number), and all the information is added in one excel table.

After this we want to send via e-mail all the information(invoice number, invoice date, value) in one HTML table.

The invoice number is ok, but the date appears like 44411.

 

What we want to do is to convert this in number in date. We used an initial date (1-1-1900) and using AddDays we want to create the date. The problem is that we have multiple invoices, and the information appears like arrays and we need it like "integer".

 

 How can we convert arrays in integer and calculate the date for each invoice date in the same time?

 

LNeaga_Next_0-1622022479301.png

 

 

after the flow runs, appears like this!

 

LNeaga_Next_1-1622022539758.png

 

Thank you!

 

Lizica

 

Categories:
  • Expiscornovus Profile Picture
    33,997 Most Valuable Professional on at

    Hi @LNeaga_Next,

     

    You could try and move the adddays expression to your mapping in the select action? 


    Below is an example of that approach:

    addDays('1-1-1900', int(item()), 'o')

     

    example_adddays.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 335 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard