I have 2 times (DateInterval - php) and I would like to get the difference between them (something like "diff()" function for DateTime).
My situation:
$task->estimate->format('%H:%I'); // HOURS:MINUTES / DateInterval
$task->total_time->format('%H:%I'); // HOURS:MINUTES / DateInterval
$task->total_time->diff($task->estimate); // Not workin, only for DateTime
// difference between them?
It would be great without counting it in second, there must be easy way to do this.