Title: %post_date()
Last modified: August 21, 2016

---

# %post_date()

 *  Resolved [joshuarule](https://wordpress.org/support/users/joshuarule/)
 * (@joshuarule)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/post_date/)
 * I can’t figure out how to get this to work
 * `%post_date(Y/m/d)`
 * It just ends up showing me:
 * 2014-04-15 17:00:14(Y/M/D)
 * The slashes appear to be causing the problem. thoughts?
 * [https://wordpress.org/plugins/category-posts-in-custom-menu/](https://wordpress.org/plugins/category-posts-in-custom-menu/)

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

 *  Plugin Author [Diana van de Laarschot](https://wordpress.org/support/users/anaid/)
 * (@anaid)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/post_date/#post-4815950)
 * Hi Joshua,
 * the format you are entering is valid, according to [http://codex.wordpress.org/Formatting_Date_and_Time](http://codex.wordpress.org/Formatting_Date_and_Time)
 * That suggests that my plugin does not recognize that slashes can be part of date
   time formatting too. My apologies for that, I’ll fix it asap.
 * Kind regards,
    Diana
 *  Plugin Author [Diana van de Laarschot](https://wordpress.org/support/users/anaid/)
 * (@anaid)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/post_date/#post-4816027)
 * Hi Joshua,
 * I’ve fixed this in the latest Development Version by adding forward slashes as
   possible characters within the brackets. So this will be fixed in the next version.
 * Kind regards,
    Diana
 *  Thread Starter [joshuarule](https://wordpress.org/support/users/joshuarule/)
 * (@joshuarule)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/post_date/#post-4816038)
 * Great! Thanks for fixing it!
 *  [matejbor](https://wordpress.org/support/users/matejbor/)
 * (@matejbor)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/post_date/#post-4816191)
 * Hi,
    your plugin seems to not support using dots in date formatting. I’ve tried%
   post_modified(j. n. Y) that should give me for example 21. 12. 2014 in return,
   but it does not work.
 * Otherwise, thanks for this plug in, worked out of the box with all the functions
   that I need.
 * Regards,
    Matej Lukin
 *  Plugin Author [Diana van de Laarschot](https://wordpress.org/support/users/anaid/)
 * (@anaid)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/post_date/#post-4816192)
 * Hi Matej,
 * please don’t reopen closed threads, open a new topic instead.
 * Kind regards,
    Diana
 *  Plugin Author [Diana van de Laarschot](https://wordpress.org/support/users/anaid/)
 * (@anaid)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/post_date/#post-4816193)
 * As for formatting, I’m using the mysql2date function supplied by WordPress, which
   builds on the date formatting in PHP. If your formatting isn’t supported by my
   plugin, it’s because WordPress and PHP don’t support it. I won’t be editing that
   functionality to support more than WordPress does.
 * Kind regards,
    Diana

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

The topic ‘%post_date()’ is closed to new replies.

 * ![](https://ps.w.org/category-posts-in-custom-menu/assets/icon-128x128.png?rev
   =2539336)
 * [Category Posts in Custom Menu](https://wordpress.org/plugins/category-posts-in-custom-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/category-posts-in-custom-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/category-posts-in-custom-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/category-posts-in-custom-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/category-posts-in-custom-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/category-posts-in-custom-menu/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Diana van de Laarschot](https://wordpress.org/support/users/anaid/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/post_date/#post-4816193)
 * Status: resolved