Date Calculations

  • Thread starter Thread starter Jim Heavey
  • Start date Start date
J

Jim Heavey

How to do you add and subtract dates in C#, in VB there was a Date Class
which provided AddDays.... I see a DateTime class in C#, but none of these
methods...where be it?
 
The DateTime structure has lots of addition classes (Add, AddDay, AddHour,
AddMillisecond, ...).
 

Ask a Question

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.

Ask a Question

Back
Top