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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.