(PHP 5 >= 5.3.0)
DatePeriod::__construct — Creates new DatePeriod object
Creates new DatePeriod object.
Start date.
Interval.
Number of recurrences.
End date.
String containing the ISO interval.
Can be set to DatePeriod::EXCLUDE_START_DATE.