Support

Account

Home Forums ACF PRO Retrieve Content by field Variable Reply To: Retrieve Content by field Variable

  • Hi @Rai Uriarte

    1. You can get the date picker value like so: get_field('field_name')
    http://www.advancedcustomfields.com/resources/get_field/

    2. You can get the current date like so:
    http://php.net/manual/en/function.date.php

    3. You can compare them like so:
    http://stackoverflow.com/questions/8722806/how-to-compare-two-dates-in-php

    Hope that helps

    Cheers
    E