• Hi, I’m using Advanced Custom Fields to add a Datepicker custom field. I want to display it using this plugin, which I can do like this:

    [field date custom=true]

    However, I need to display the long month (“August”) instead of just the date string (“2016-08-24”). How do I do this? I basically need to be able to do a date format on it. I can modify the field in ACF to make it store the date in whatever format is easiest. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter oscarmondo

    (@oscarmondo)

    I’ve figured out more of the problem and updated the title to clarify.

    Right now I’m using an ACF Datepicker field (called ‘date’) and using the default Save Format (yymmdd). I want to display just the month. Based on a lot of Googling (particularly this: https://wordpress.org/support/topic/show-content-by-date-field), the shortcode I would expect to use here is something like this:

    [field acf_date="date" date_format=F]

    However, this just displays the full date string as it was stored in the DB by ACF.

    I’ve seen other posts suggesting I store the date as a timestamp, or maybe use the Date & Time Picker in ACF, but as far as I can tell those options no longer exist.

    Please help!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Need to extract month from custom date field’ is closed to new replies.