Date/Time
PHP Manual

The DatePeriod class

(PHP 5 >= 5.3.0)

Introduzione

Represents a date period.

A date period allows iteration over a set of dates and times, recurring at regular intervals, over a given period.

Sommario dellla classe

DatePeriod implements Traversable {
/* Costanti */
const integer EXCLUDE_START_DATE = 1 ;
/* Metodi */
public __construct ( DateTimeInterface $start , DateInterval $interval , int $recurrences [, int $options ] )
public __construct ( DateTimeInterface $start , DateInterval $interval , DateTimeInterface $end [, int $options ] )
public __construct ( string $isostr [, int $options ] )
}

Costanti predefinite

DatePeriod::EXCLUDE_START_DATE

Exclude start date, used in DatePeriod::__construct().

Indice dei contenuti


Date/Time
PHP Manual