Home › Forums › Front-end Issues › Date expiry issue › Reply To: Date expiry issue
LIke I said, I wasn’t sure. But I’m still thinking that the date from the field is producing a date with a midnight time and current date time has the current time so it is greater than the other value.
You need to echo out the actual values of each to see what you are working with and adjust your function calls so that you get values that will work.
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.