| 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
 <title>Future time sample</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 </head>
 
 <body>
 <?php
 include("futureTime.class.php");
 //
 $f=new futureDate();
 //findDate($deltaDD=0, $deltaMM=0, $deltaYYYY=0)
 $fDate=$f->findDate(0, 1, 0);
 // This program will return an array which contains the date of tomorrow.
 print("Tomorrows date is :".$fDate["year"]."-".$fDate["month"]."-".$fDate["day"]);
 ?>
 </body>
 </html>
 
 |