Home › Forums › General Issues › Issue with query between 2 dates › Reply To: Issue with query between 2 dates
Hi, same problem here. In my case what I want to achieve is, having events with start_date and end_date, check if any of them are active in a given date.
In other words, if that given date is between start_date and end_date of any of the events.
I tried something similar to your code @hube2 , but I get no results. I also tried with ‘OR’ relationship, but in that case is like showing all events, as start_date or end_date will match the rule.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.