Date/Time
PHP Manual

The DateInterval class

Introducere

Representation of date interval. A date interval stores either a fixed amount of time (in years, months, days, hours etc) or a relative time string in the format that DateTime's constructor supports.

Sinopsisul clasei

DateInterval
DateInterval {
/* Metode */
public __construct ( string $interval_spec )
public static DateInterval createFromDateString ( string $time )
public string format ( string $format )
}

Cuprins


Date/Time
PHP Manual