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 / Apply to each - using ...
Power Automate
Unanswered

Apply to each - using addDays to convert serial number to date

(0) ShareShare
ReportReport
Posted on by

Can anyone help before I throw my laptop out of the window. 

 

I have a very simple flow which LIST ROWS PRESENT IN A TABLE and applies a simple filter. The resultant date which is being produced is an excel serial number and I need to convert it into a date to send via an email. I have tried 

 

addDays('12-30-1899',int(items(‘Apply_to_each’)?['Start date of request_x002e_']),'dd/MM/yyyy')

 

where 'Start date of request_x002e_ is the name of the column but I keep getting INVALID expression. 

 

I can't believe that doing something so simple is creating such a headache. I just want the date in a DATE format!

 

Many thanks. 

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @jed76  Go to advance option in list row present in a table then select date format Iso.

    After that you do not need such conversion 

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • Cayshin Profile Picture
    332 on at

    Just want to add a little visual of what Hardesh15 is referencing:

    Cayshin_0-1660932471934.png

     

  • jed76 Profile Picture
    on at

    I’ve done this but it’s still delivering the date format as “44000” etc.?

  • Cayshin Profile Picture
    332 on at

    If the above isn't working for you, then try this expression to convert it. It's very similar to the one you originally tried.

     

    addseconds('1899-12-30',int(formatnumber(mul(float(items(‘Apply_to_each’)?['Start date of request_x002e_']),86400),'0')))

  • jed76 Profile Picture
    on at

    @Cayshin many thanks. Where does this code actually go? I have tried entering it as an expression in the send email field and I still get INVALID expression?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 976

#2
Valantis Profile Picture

Valantis 863

#3
Haque Profile Picture

Haque 547

Last 30 days Overall leaderboard