Months and years vary in length, so you'll need to work out exactly
what you mean. If you want to add 1 year to Jan 1st and always get Jan
1st, you may want to look at adding each field individually rather
than using TimeSpan: DateTime has AddYears and AddMonths methods.
(Note that these return new DateTime values - DateTime itself is
immutable.)
Weeks is just a matter of multiplying by 7 and treating as days.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.