Home › Forums › Front-end Issues › Date Field Output › Reply To: Date Field Output
what is GenerateBlocks?
If that is expecting a date stored in the database then it will not work. ACF date fields are not stored as date columns in the database. They are stored as strings in the format that you are seeing “Ymd”.
If what you are using does not call get_field() or some other ACF function then the format value you set for the field will have no effect on the value returned.
Without using ACF functions or adding some type of code there isn’t a way to convert these to proper date values.
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.