DateInterval::createFromDateString
(PHP 5 >= 5.3.0)
DateInterval::createFromDateString — Sets up a DateInterval from the relative parts of the string
Описание
public static DateInterval DateInterval::createFromDateString
(
string $time
)
Список параметров
-
time
-
Date with relative parts.
Возвращаемые значения
Returns new DateInterval instance if success.