<?php $date1 = new DateTime('08/16/2013'); $date2 = new DateTime('08/23/2013'); $diff = $date1->diff($date2); echo $diff->d; echo " dienos"; echo " padauginus gauname "; echo $diff->d * 10; ?>