Support

Account

Home Forums General Issues Date Picker Less than 30 days Reply To: Date Picker Less than 30 days

  • Hi James,

    Thank you for your reply.

    Does it matter what format I have in the ‘Save Format’ field of the ACF? I currently have dd/mm/yy.

    I have tried the script that you provided me and it always outputs as if it was less than 30 days (eg: echo “30 days”) even when the date is set 2 years ahead.

    If you want to see an example please look in the ‘Tax’ column here – http://rentals.londonmotorcycles.london/

    It’s the first time I have had to work with dates and calculating alerts etc so I am bit baffled by it all.

    Thanks for your help.