DateTimeImmutable::add
(PHP 5 >= 5.5.0, PHP 7)
DateTimeImmutable::add — 年月日時分秒の値を加える
説明
public DateTimeImmutable::add
( DateInterval $interval
) : DateTimeImmutable
DateTime::add() と似ていますが、 DateTimeImmutable で動作します。
(PHP 5 >= 5.5.0, PHP 7)
DateTimeImmutable::add — 年月日時分秒の値を加える
public DateTimeImmutable::add
( DateInterval $interval
) : DateTimeImmutable
DateTime::add() と似ていますが、 DateTimeImmutable で動作します。