PHP 7.4.0RC6 Released!

DateTimeImmutable::sub

(PHP 5 >= 5.5.0, PHP 7)

DateTimeImmutable::sub Subtrai uma quantidade de dias, meses, anos, horas, minutos e segundos

Descrição

public DateTimeImmutable::sub ( DateInterval $interval ) : DateTimeImmutable

Similar a DateTime::sub(), mas lida com DateTimeImmutable.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top