Home › Forums › General Issues › Save ACF custom field to date-time post › Reply To: Save ACF custom field to date-time post
The ACF date picker field saves values to the database in “Ymd” format. This is not a correct date time format for use with the ACF post date field. You need to get the value saved by ACF using acf functions and/or convert the value returned to a date/time value in the format “Y-m-d H:i:s”.
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.