Title: Date format for EVENTS section
Last modified: April 25, 2018

---

# Date format for EVENTS section

 *  Resolved [0ldrpmartin](https://wordpress.org/support/users/0ldrpmartin/)
 * (@0ldrpmartin)
 * [8 years ago](https://wordpress.org/support/topic/date-format-for-events-section/)
 * I need to change the default dd.mm.yyyy to Month Day, Year for the “Simple Calendar
   2.” How do I do that?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdate-format-for-events-section%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [totalsoft](https://wordpress.org/support/users/totalsoft/)
 * (@totalsoft)
 * [8 years ago](https://wordpress.org/support/topic/date-format-for-events-section/#post-10220753)
 * Hello Dear 0ldrpmartin.
 * Thank You for contacting with us and for telling us about your request. I will
   say you the way how to make your request.
 * Open the Widget.php file of our plugin. After line 966 add this part:
 * `var SimpleMonth = new Array('', 'January', 'February', 'March', 'April', 'May','
   June', 'July', 'August', 'September', 'October', 'November', 'December');`
 * Replace line 971 with this row:
 * `var date = SimpleMonth[parseInt(lpad(d.getMonth() + 1, 2))] + ' ' + lpad(d.getDate(),
   2) + ', ' + d.getFullYear() + ' ' + timesimcalreal;`
 * Replace line 977 with this row:
 * `var date = SimpleMonth[parseInt(lpad(d.getMonth() + 1, 2))] + ' ' + lpad(d.getDate(),
   2) + ', ' + d.getFullYear() + ' ' + timesimcalreal;`
 * Replace line 981 with this row:
 * `var date = SimpleMonth[parseInt(lpad(d.getMonth() + 1, 2))] + ' ' + lpad(d.getDate(),
   2) + ', ' + d.getFullYear() + ' - ' + SimpleMonth[parseInt(lpad(parseInt(enddatemonth)
   + 1, 2))] + ' ' + lpad(enddateday, 2) + ', ' + enddateyear + ' ' + timesimcalreal;`
 * Thank You.

Viewing 1 replies (of 1 total)

The topic ‘Date format for EVENTS section’ is closed to new replies.

 * ![](https://ps.w.org/calendar-event/assets/icon-128x128.jpg?rev=1448465)
 * [Event Calendar - Calendar](https://wordpress.org/plugins/calendar-event/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/calendar-event/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/calendar-event/)
 * [Active Topics](https://wordpress.org/support/plugin/calendar-event/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/calendar-event/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/calendar-event/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [totalsoft](https://wordpress.org/support/users/totalsoft/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/date-format-for-events-section/#post-10220753)
 * Status: resolved