cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
n1ckmuk
Helper I
Helper I

filter a sharepoint list on date

I'm struggling to get a filter working on a sharepoint list. I'd like the flow to return all events that happen in the next hour;

n1ckmuk_0-1623060141273.png

this filter doesn't seem to return any items;

 

EventDate gt '@{formatDateTime(utcNow(),'yyyy-MM-dd hh:mm:ss')}' and EventDate le '@{addhours(utcNow(),1,'yyyy-MM-dd hh:mm:ss')}'

 


the EventDate output looks like this if I use no filter;

 

"EventDate":"2021-06-09T10:00:00Z"

 

 

 

 



 

2 REPLIES 2
n1ckmuk
Helper I
Helper I

figured this out just after I posted. I've fixed the code above in case it helps anyone else. 

alrez
Community Support
Community Support

Hi,

 

Thanks for your follow up post! Remember to set the solution for this post to help future communities users with similar issues.

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,140)