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 / Date columns is equal ...
Power Automate
Answered

Date columns is equal to 6 months old (182 days) ?

(0) ShareShare
ReportReport
Posted on by 1,599 Super User 2024 Season 1
Hello,
 
CDN media
In the above condition, I am checking two things. A status value and a date. It is the date that I am having issues with.

Essentially the flow runs daily and needs to check whether the PostProgrammeCompletionDate is equal to or older than 6 months (182 days).

This is what I have currently, however the glue doesn't appear to be sticking!
 
formatDateTime(item()?['PostProgrammeCompletionDate'], 'dd/MM/yyyy')

is less or equal to

lessOrEquals(formatDateTime(item()?['PostProgrammeCompletionDate'], 'dd/MM/yyyy'), formatDateTime(addToTime(utcNow(), -6, 'Month'), 'dd/MM/yyyy'))
 
Categories:
I have the same question (0)
  • Verified answer
    sudosaurus Profile Picture
    1,599 Super User 2024 Season 1 on at
    Solved it!
     
    addDays(items('Apply_to_each')?['PostProgrammeCompletionDate'], 182)
    is less or equal to
    utcNow()
     

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 523

#2
Valantis Profile Picture

Valantis 318

#3
David_MA Profile Picture

David_MA 235 Super User 2026 Season 1

Last 30 days Overall leaderboard