Support

Account

Home Forums ACF PRO Datepicker exclude month name output if in the same month Reply To: Datepicker exclude month name output if in the same month

  • @dotwongdotcom perfect, then you just need to detect if both months are the same, or if they’re different.

    You can find out how to turn a date value into a PHP Date object here: https://www.advancedcustomfields.com/resources/date-picker/

    Use that to wire up your logic to figure out if the months are the same or different.

    Phil