Technical Docs

Search Documentation

Function: tribe_beginning_of_day

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

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

Parameters summary

(string) $date The date to find the beginning of the day, defaults to today
(string) $format Allows date and time formating using standard php syntax (<a href=""></a>)

Return value summary



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