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.
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.
The problem is if I give formatDateTime(utcNow(), 'MM/dd/yyyy'). It's adding zero before the date and not getting the data.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Chiara Carbone as our Community Spotlight for November…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 560 Super User 2025 Season 2
Tomac 347 Moderator
Expiscornovus 262 Most Valuable Professional