date_diff

PHP 5 >= 5.3.0, PHP 7, PHP 8
date_diff - Alias of DateTime::diff
Manual

Description

This function is an alias of: DateTime::diff