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 / Compare Excel-date wit...
Power Automate
Answered

Compare Excel-date with today - Condition always "false"

(0) ShareShare
ReportReport
Posted on by 23

Hello,

I built a flow for comparing my "Eintrittsdatum" in Excel with todays date. I tried it by building 2 variables and comparing them. 

 

The problem is, even if my variables are the same date, the condition always say it's "false" and I do not know, where the problem is.

 

Flow 1.png

compose eintrittsdatum.png

I used this for my compose for the "Eintrittsdatum":

addSeconds('1899-12-30 00:00:00',int(formatNumber(mul(float(items('Apply_to_each')?['Eintrittsdatum']),86400),'0','en-us')),'yyyy-MM-dd')

 

flow 2.png

and this for todays date:

formatDateTime(utcNow(), 'yyyy-MM-dd')
compose tagesdatum.png
 

In my condition I tried to compare the two variables, but its always false:

flow 3 condition.png

 

Output when I look into the variables after run:

output Tagesdatum.png

output Eintrittsdatum.png

 

Does anyone know, what I do false here?

 

Thank you.

 

Categories:
I have the same question (0)
  • Verified answer
    tom_riha Profile Picture
    10,187 Most Valuable Professional on at

    Hello @Delany ,

    if you're looking for rows with today's date you can use a filter directly in the 'List rows...' action to get them as explained here.

  • Delany Profile Picture
    23 on at

    Hello @tom_riha 

    it worked 😄
    Thank you so much for this solution.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 641

#2
Vish WR Profile Picture

Vish WR 640

#3
Haque Profile Picture

Haque 495

Last 30 days Overall leaderboard