eo_get_event_datetime_format
eo_get_event_datetime_format( $event_id = false, $date_format = false, $time_format = false )
Helper function to generate a datetime format for an event's date.
If the event is an all day event, the date format is returned. If it
is not an all-day event, the time format appended to the time format
and that is returned.
If date/time formats are not provided, the site's settings are used.
Can be used inside the loop.
Parameters
int
|
$event_id = false |
|
string
|
$date_format = false |
|
string
|
$time_format = false |
|