First, Google is a great reference, use it (both links below I snagged from google in < 30s).
As far as Datediff goes,
VB.NET has a DateDiff function C# doesn't.
VB.NET:
http://blogs.msdn.com/vbfaq/ (about half way down)
C#:
http://www.c-sharpcorner.com/UploadF...iff_CS_DC.aspx
As far as dateadd goes you can use functions similar to:
DateTime.Now.AddDays(1);
DateTime.Now.AddYears(2);
And so on.
hth.
-Doug
__________________
===============================================
Doug Parsons
Wrox online library:
Wrox Books 24 x 7
Did someone here help you? Click

on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================