Title: modify date display
Last modified: August 21, 2016

---

# modify date display

 *  Resolved [Alin Ionut](https://wordpress.org/support/users/c3dry2k/)
 * (@c3dry2k)
 * [13 years ago](https://wordpress.org/support/topic/modify-date-display/)
 * How can i modify date display?
 * for example mine is like that: Mi mai 15
 * i what to display this: d M Y
 * [http://wordpress.org/extend/plugins/simple-events-calendar/](http://wordpress.org/extend/plugins/simple-events-calendar/)

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

 *  [naloo](https://wordpress.org/support/users/naloo/)
 * (@naloo)
 * [13 years ago](https://wordpress.org/support/topic/modify-date-display/#post-3748204)
 * hi
    in simple-events-calender.php change lines 34-39 like this:
 * // The date
    if (strtoupper(substr(PHP_OS, 0, 3)) == ‘WIN’) { define(‘DATE’, 
   __(‘%a %#d. %B’,SE_TEXTDOMAIN)); // For WINDOWS %e doesn’t work } else { define(‘
   DATE’, __(‘%a %e. %B’,SE_TEXTDOMAIN)); }
 * will give you an date display that looks like this:
    Mo 20. Mai 2013 20:30
 *  [rootkowski](https://wordpress.org/support/users/rootkowski/)
 * (@rootkowski)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/modify-date-display/#post-3748265)
 * It is a solution, but not the best practise hacking the plugin files. I wonder
   if creating your own translation file would be a better approach since the date
   format is specified within the __() function?
 * I’m currently looking to change the date format myself to “2nd June 6.00” but
   I’ve no idea what date system is actually used in this plugin. Using the format
   characters from [http://php.net/manual/en/function.date.php](http://php.net/manual/en/function.date.php)
   makes a big mess of the dates in the plugin. Any hints, please? 🙂
 * Cheers!
 * EDIT: looking through the plugin php file I found that if refers to the strftime()
   function ( [http://www.php.net/manual/en/function.strftime.php](http://www.php.net/manual/en/function.strftime.php)),
   so the funny codes with percentage sign are now clear 🙂
 *  [thatwastaxing](https://wordpress.org/support/users/thatwastaxing/)
 * (@thatwastaxing)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/modify-date-display/#post-3748306)
 * I changed mine to only display month and day (%B %d) but on my site, I can’t 
   get it to display the month correctly. It just displays “%B”
 * Any idea how to fix this?

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

The topic ‘modify date display’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-events-calendar_d2d7d3.svg)
 * [Simple Events Calendar](https://wordpress.org/plugins/simple-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-events-calendar/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [thatwastaxing](https://wordpress.org/support/users/thatwastaxing/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/modify-date-display/#post-3748306)
 * Status: resolved