Notifications
Announcements
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 462 Super User 2025 Season 2
Tomac 456 Moderator
abm abm 243 Most Valuable Professional