(PHP 5 >= 5.3.0)
DateTime::diff — Returns the difference between two DateTime objects
Returns the difference between two DateTime objects.
The date to compare to.
Whether to return absolute difference.
The difference between two dates.