Replies: 0
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