Support

Account

Home Forums ACF PRO Group CPT in years by using ACF date field Reply To: Group CPT in years by using ACF date field

  • I think I know what could be causing the original issue now
    I said

    should be interpreting “d/m/Y” as “m/d/Y”

    So if you had a day like 30/01/2023 (30 Jan 2023) then strtotime() tries to use “30” as the month it is returning false (error) and that was likely the source of not sorting them correctly. Any date with a day > the number of days in what it is using for month would return an error.