I’m trying to create a custom weekly calendar from events which all have single Datetimes, and all events span 6 – 8 weeks (they are courses of weekly classes), I need to access and test the following.
1. Event Start – Day
2. Event Start – Time
3. Event Start – Date
4. Event End – Time
5. Event End – Date
I see that espresso_event_date(); displays the start time and date but I’m not sure how to break the date up into the pieces so I can test and display something like….
All events on Monday, orderby time, if now is after Event Start Date and before Event Start End. I also need to access the Event Start Time and Event End Time so I can calculate the duration of a single class.
The support post ‘EE4 – Accessing Event Datetime’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.