Home › Forums › Backend Issues (wp-admin) › date & time picker "NOW" issue › Reply To: date & time picker "NOW" issue
I looked into the code, the date field does not work with setting $field['default_value']
. You need to use this https://www.advancedcustomfields.com/resources/javascript-api/#filters-date_picker_args
I do not know the correct code you need to use here to set the date, you will need to look at the jquery date picker docs here https://api.jqueryui.com/datepicker/
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.