G
Guest
I need to add days to a DateTime variable, but even after calling the AddDays
function on it the value has not changed. The following code illustrates:
DateTime ReturnVal = new DateTime(2006,01,01);
ReturnVal.AddDays(1);
Is there another way to go about this, or am i doing something wrong?
function on it the value has not changed. The following code illustrates:
DateTime ReturnVal = new DateTime(2006,01,01);
ReturnVal.AddDays(1);
Is there another way to go about this, or am i doing something wrong?