> I have a given date in $year, $month and $day. > Now I want to calculate a new date that is 7 days or 9 weeks > (given as 63 days) in the future. hi joxn convert to a julian day number, add the days, convert back see julian day algorithm here -- http://serendipity.magnet.ch/hermetic/cal_stud/jdn.htm#comp rudy r937.com