(PHP 5 >= 5.3.0, PHP 7)
Represents a date period.
A date period allows iteration over a set of dates and times, recurring at regular intervals, over a given period.
$start
, DateInterval $interval
, int $recurrences
[, int $options
] )$start
, DateInterval $interval
, DateTimeInterface $end
[, int $options
] )DatePeriod::EXCLUDE_START_DATE
Exclude start date, used in DatePeriod::__construct().