hi,
well you cud use database help for this...in ORACLE u have ADD_MONTHS function for this purpose...
well if that not permissible, use this...
<?php
$startdate=10/4/2001;
$duration=6;
$nextyear = mktime(0,0,0,date("m")+$duration, date("d"), date("Y"));
//since u need months added
$arrayDate=getdate($nextyear);
while (list ($key, $val) = each ($arrayDate)) {
echo "$key => $val\n";
}
?>
u cud pick up respective elements from the array :-)
hope this helps u...
Njoy !!
regs,
sachin balsekar.