Technical Docs

Search Documentation

Function: tribe_get_end_date

End Date

Located at src/functions/template-tags/date.php (Line: 331)

Description

Returns the event end date

Parameters summary

(int) $event (optional)
(bool) $display_time If true shows date and time, if false only shows date
(string) $date_format Allows date and time formating using standard php syntax (<a href="http://php.net/manual/en/function.date.php">http://php.net/manual/en/function.date.php</a>)
(string) $timezone Deprecated. Timezone in which to present the date/time (or default behaviour if not set)

Return value summary

(string) Date
(null) Date

Examples

string|null tribe_get_end_date ( int $event = null, bool $display_time = true, string $date_format = ’’, string $timezone = null )