Technical Docs

Search Documentation

Function: tribe_end_of_day

Returns formatted date for the official end of the day according to the Multi-day cutoff time option

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

Parameters summary

(string) $date The date to find the end of the day, defaults to today
(string) $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>)

Return value summary

(string)

Examples

string tribe_end_of_day ( string $date = null, string $format = ’Y-m-d H:i:s’ )