I wan't to find the date difference between to days and then convert it into hours
$date_diff = date_diff($latest_date, $oldest_date);
echo $date_diff->format(???);
I have tried to set format as ->format('h');
but didn't work. How can I do this?