Date/Time
PHP Manual

DatePeriod クラス

(PHP 5 >= 5.3.0)

導入

日付の期間をあらわします。

クラス概要

DatePeriod implements Traversable {
/* 定数 */
const integer EXCLUDE_START_DATE = 1 ;
/* メソッド */
public __construct ( DateTime $start , DateInterval $interval , int $recurrences [, int $options ] )
public __construct ( DateTime $start , DateInterval $interval , DateTime $end [, int $options ] )
public __construct ( string $isostr [, int $options ] )
}

定義済み定数

DatePeriod::EXCLUDE_START_DATE

開始日を含まない。DatePeriod::__construct() で使用します。

目次


Date/Time
PHP Manual