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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Date format changes in...
Power Automate
Unanswered

Date format changes in excel

(0) ShareShare
ReportReport
Posted on by

I want to read a date in excel.

Then compare it when the date is 30 , 60 and 90 days from the current date, it will send out an email automatically based on the email provided in the excel sheet.

However, the date could not be read properly from excel and does not compare it from my expressions needed.

Categories:
I have the same question (0)
  • BenjaminJarry Profile Picture
    119 on at

    How do you store it into excel ? 

    (where / what format)

     

    What is your if condition ? (should be "Exceldate is superior to adddays(utcnow(),30)" or like)

  • Verified answer
    v-litu-msft Profile Picture
    on at

    Hi @Anonymous,

     

    The return of Date column from Excel table is the days' number count from 1899-12-30, so if you want to compare it, you should use addDays() function to convert it into a correct date, for example:

    addDays('1899-12-30', int(item()?['Date']), 'yyyy-MM-dd')

    One point that needs to notice is when you compare the date, the format should be 'yyyy-MM-dd', cause the compare starts from the beginning.

     

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard