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 Automate
Unanswered

To compare date

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I'm trying to build a flow, in which I'm using Filter query in get items step. I'm trying to compare date column in SharePoint list if it is equal to today's date. But the flow is returning no results. Kindly help.

ganeshnr523_0-1677159688752.pngganeshnr523_1-1677159725402.png

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,858 Most Valuable Professional on at

    Hi @Anonymous 

     

    Use  the below format

     

    formatDateTime(utcNow(), 'yyyy-MM-dd')

     

    or

     

    formatDateTime(utcNow(), 'MM-dd-yyyy')

     

     

    I can see below there are two single quotes. The format expression should be between the single quotes.

     

    image.png

  • Community Power Platform Member Profile Picture
    on at

    The problem is if I give formatDateTime(utcNow(), 'MM/dd/yyyy'). It's adding zero before the date and not getting the data.

    ganeshnr523_0-1677161269056.png

     

  • abm abm Profile Picture
    32,858 Most Valuable Professional on at

    Hi @Anonymous 

     

    I always use yyyy-MM-dd format. I have made a tutorial video about this.

     

    https://www.youtube.com/watch?v=FRKtB37hJ4g&t=39s

     

    Please have a look.

     

    Thanks

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard