Title: Get event Date
Last modified: January 10, 2017

---

# Get event Date

 *  Resolved [brunov](https://wordpress.org/support/users/brunov/)
 * (@brunov)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/get-event-date/)
 * Hi,
 * First thanks for this awesome plugin 😉
    I would like to know if it possible 
   to get the date of the event in a post while.?
 * Like this :
 *     ```
       $post_month = strtolower( get_the_time( 'F' ) );
       $post_year = strtolower( get_the_time( 'Y' ) );
       $post_month_number = get_the_time( 'm' );
       ```
   
 * This show me the event publish date.
    I need the start event date.
 * I’ve try with this :
 *     ```
       $post_month = date('F', strtotime($ecwd_event_date_from));
       $post_year = date('Y', strtotime($ecwd_event_date_from));
       $post_month_number = date('m', strtotime($ecwd_event_date_from));
       ```
   
 * But it’s not the correct way ^^
 * If you have a idea 😉
 * Thanks

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

 *  [Sona](https://wordpress.org/support/users/support-web-dorado/)
 * (@support-web-dorado)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/get-event-date/#post-8646610)
 * [@brunov](https://wordpress.org/support/users/brunov/),
 * Please enable In Events Archive page change post date to event start date and
   check out ecwd_events_archive_page method in includes/ecwd-cpt-class.php
    file.
   Here you can try out your mentioned method:
 * $post_month = strtolower( get_the_time( ‘F’ ) ); $post_year = strtolower( get_the_time(‘
   Y’ ) ); $post_month_number = get_the_time( ‘m’ );
 *  Thread Starter [brunov](https://wordpress.org/support/users/brunov/)
 * (@brunov)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/get-event-date/#post-8663235)
 * Hello Sona,
 * After a bit of test, i found the solution 😉
    Thanks for your reply !!!!!!
 * Bruno
 *  [Sona](https://wordpress.org/support/users/support-web-dorado/)
 * (@support-web-dorado)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/get-event-date/#post-8663831)
 * [@brunov](https://wordpress.org/support/users/brunov/),
 * Hope you enjoy working with our plugin and will not mind shifting to reviews 
   tab and leaving a positive review of the plugin there. Cheers and do not forget
   to contact us whenever needed.

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

The topic ‘Get event Date’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/event-calendar-wd_a3bef6.svg)
 * [EventCalendar](https://wordpress.org/plugins/event-calendar-wd/)
 * [Support Threads](https://wordpress.org/support/plugin/event-calendar-wd/)
 * [Active Topics](https://wordpress.org/support/plugin/event-calendar-wd/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-calendar-wd/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-calendar-wd/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Sona](https://wordpress.org/support/users/support-web-dorado/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/get-event-date/#post-8663831)
 * Status: resolved