<?php
// parameters: "date", "integer", "+" or "-"
// Examples...
// To find tomorrow's date
$result = new finddate(date("d.m.Y"), "1", "+");
// To find yesterday's date
$result = new finddate(date("d.m.Y"), "1", "-");
// To find the date which is on 50 days after from 12.10.2000
$result = new finddate("12.10.2000"), "50", "+");
// Show date
echo $result->newdate;
?>
|