<?php $tiempo = new Timework(); $f = $tiempo->calcular('2013-08-08 09:30:00', '2013-08-08 11:30:00'); echo "Minutos ".$f['minutos']."<br>"; echo "horas ".$f['horas']."<br>"; echo "dias ".$f['dias']."<br>"; echo "meses ".$f['meses']."<br>"; ?>