Want to add value to date

Hi

I want to add a value to Year in date:

EX

Date d1;

int s;

;

s = 2;

d1 = systemdateget();

d1 = d1+s;

print d1;

year(d1);

pause;


system date is 07/12/2010

I am getting 09-12-2010

this is right but i want add to year…

I want to get: 07/12/2012.

Any idea about this…

find month and date from system date and add years.(use dayofmth(Systemdateget()),mthofyr(Systemdateget()))

use mkdate(dayofmth(Systemdateget()),mthofyr(Systemdateget()),d1);