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.