DATEPERIOD(3) 1 DATEPERIOD(3)
The DatePeriod class
INTRODUCTION
Represents a date period.
A date period allows iteration over a set of dates and times, recurring at regular intervals, over a given period.
CLASS SYNOPSIS
DatePeriod
DatePeriodTraversable
Constants
o const integer$DatePeriod::EXCLUDE_START_DATE1
Methods
o public DatePeriod::__construct (DateTimeInterface $start, DateInterval $interval, int $recurrences, [int $options])
o public DatePeriod::__construct (DateTimeInterface $start, DateInterval $interval, DateTimeInterface $end, [int $options])
o public DatePeriod::__construct (string $isostr, [int $options])
PREDEFINED CONSTANTS
o DatePeriod::EXCLUDE_START_DATE -Exclude start date, used in DatePeriod.__construct(3).
PHP Documentation Group DATEPERIOD(3)