php / 8.1.5 / function.date-sub.html /

date_sub

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

date_subAlias of DateTime::sub()

Description

This function is an alias of: DateTime::sub()

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.date-sub.php