Technical Docs

Search Documentation

Function: tribe_get_days_between

Accepts two dates and returns the number of days between them

Located at src/functions/template-tags/general.php (Line: 236)

Parameters summary

(string) $start_date
(string) $end_date
(string|bool) $day_cutoff

Return value summary

(int)

Examples

int tribe_get_days_between ( string $start_date, string $end_date, string|bool $day_cutoff = ’00:00’ )