PHP 8.4.0 RC4 available for testing

date_sub

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

date_subПсевдонім DateTime::sub()

Опис

Ця функція є псевдонімом до: DateTime::sub()

Прогляньте також

  • DateTimeImmutable::sub() - Subtracts an amount of days, months, years, hours, minutes and seconds
  • DateTime::sub() - Subtracts an amount of days, months, years, hours, minutes and seconds from a DateTime object

add a note

User Contributed Notes

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