DateTimeZone::listIdentifiers
DateInterval::__construct
Date/Time
PHP Manual
The DateInterval class
소개
Representation of date interval.
클래스 개요
DateInterval
DateInterval
{
/* Methods */
__construct
(
string
$interval_spec
)
public
static
DateInterval
createFromDateString
(
string
$time
)
public
string
format
(
string
$format
)
}
Table of Contents
DateInterval::__construct
— Creates new DateInterval object
DateInterval::createFromDateString
— Sets up a DateInterval from the relative parts of the string
DateInterval::format
— Formats the interval
DateTimeZone::listIdentifiers
DateInterval::__construct
Date/Time
PHP Manual