<?php $date1 = new \DateTime('-1 day'); $date2 = new \DateTime(); $minutes = ($date2->getTimestamp() - $date1->getTimestamp())/60; var_dump($minutes);
You have javascript disabled. You will not be able to edit any code.