Home › Forums › Backend Issues (wp-admin) › Saving future date value using update_field › Reply To: Saving future date value using update_field
Try formating the dates as ‘Ymd’ (with uppercase “Y”, which outputs 4 digits, as opposed to “y”, which outputs 2). This is the default format for date fields.
Though, of course, if you have entered another format in your ACF setup for this field, then you should change accordingly. 😉
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.