Home › Forums › General Issues › Date Time Field Not Storing Value › Reply To: Date Time Field Not Storing Value
This suggestion just came from ACF Support:
I would suggest that you use the “acf/update_value/type=date_time_picker” filter to hook in and change the value being saved to a timestamp using the strtotime() function. Please take a look at the following resource page for more info on this:
https://www.advancedcustomfields.com/resources/acf-update_value/
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.