<?php
require_once 'class.Date_Diff.php';
$date = new Date_Diff( '02/01/2007 23:02:01', '01/31/2007 22:01:01' );
echo "[DAYS]--->".$date->getDiffInDays() ."\n[HOURS]--->".$date->getDiffInHours() ."\n[MINS]-->".$date->getDiffInMinutes()."\n[SEC]-->";
?>
|