Title: How to format post_date
Last modified: August 31, 2016

---

# How to format post_date

 *  Resolved [mksd](https://wordpress.org/support/users/mksd/)
 * (@mksd)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/how-to-format-post_date/)
 * Hi Eric,
 * When using this shortcode:
    `[post-content id="1234" field="post_date"]` It returns
   the date as it is formatted in MySQL, so something along the lines of “2016-04-
   01 13:18:47”. But would you know of any way to customise the date format? For
   example, how could it return something like “April 1, 2016” instead of the above?
 * Thanks for letting me know of any workarounds.
    Cheers. D
 * [https://wordpress.org/plugins/get-post-content-shortcode/](https://wordpress.org/plugins/get-post-content-shortcode/)

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

 *  Plugin Author [webdeveric](https://wordpress.org/support/users/webdeveric/)
 * (@webdeveric)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/how-to-format-post_date/#post-7234882)
 * Hello,
 * The simplest solution I came up with is to use another shortcode to format the
   output from `[post-content id="1234" field="post_date"]`
 * It is available on Github:
 * [https://github.com/webdeveric/date-format-shortcode](https://github.com/webdeveric/date-format-shortcode)
 * The example usage section of the [readme](https://github.com/webdeveric/date-format-shortcode#example-usage)
   shows how to use this shortcode with the post-content shortcode.
 * From,
    Eric
 *  Thread Starter [mksd](https://wordpress.org/support/users/mksd/)
 * (@mksd)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/how-to-format-post_date/#post-7234914)
 * Thanks Eric, this worked like a charm.
    Thanks for putting all this together!
 * Cheers.
    D

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

The topic ‘How to format post_date’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/get-post-content-shortcode_647b7e.
   svg)
 * [Get Post Content Shortcode](https://wordpress.org/plugins/get-post-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/get-post-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/get-post-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/get-post-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/get-post-content-shortcode/reviews/)

## Tags

 * [format](https://wordpress.org/support/topic-tag/format/)
 * [post_date](https://wordpress.org/support/topic-tag/post_date/)

 * 2 replies
 * 2 participants
 * Last reply from: [mksd](https://wordpress.org/support/users/mksd/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/how-to-format-post_date/#post-7234914)
 * Status: resolved