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

Community site session details

Session Id :
Power Automate - Building Flows
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

 

I have the same question (0)
  • abm abm Profile Picture
    32,605 Most Valuable Professional on at
    Re: To compare date

    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
    Re: To compare date

    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,605 Most Valuable Professional on at
    Re: To compare date

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 560 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 347 Moderator

#3
Expiscornovus Profile Picture

Expiscornovus 262 Most Valuable Professional

Last 30 days Overall leaderboard