Home › Forums › ACF PRO › WP_Query and sub-fields › Reply To: WP_Query and sub-fields

Hi @huwrowlands
Could you please tell me which version of ACF did you use? The date picker field in ACF PRO version saves the data in Ymd (yyyymmdd) format, so you need to reformat your $mon variable to Ymd. Please take a look at this page to learn how to convert it: http://stackoverflow.com/questions/2487921/convert-date-format-yyyy-mm-dd-dd-mm-yyyy.
Thanks 🙂
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.