Home › Forums › ACF PRO › Empty Date Time Picker field shows current date. › Reply To: Empty Date Time Picker field shows current date.
I just came across this discussion now.
Had the same problem.
It’s using the strtotime
on an empty string, that generates the current time
So for me an If check
on the initial ACF Variable fixed it
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.