Support

Account

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 🙂