eo_format_datetime
since 1.2.0
eo_format_datetime( $datetime, $format = 'd-m-Y' )
Formats a datetime object into a specified format and handles translations.
Used by
The constant DATETIMEOBJ can be passed to them to get datetime objects
Applies eventorganiser_format_datetime filter
Parameters
Return value
string|\dateTime
|
The formatted date
|
Hooks
Changelog
Resources