Datediff function in c#

  • Thread starter Thread starter Vincent
  • Start date Start date
V

Vincent

Hi, in VB6 I have something like:
intdays=datediff("d",date1,date2)+1

how do I write this in c# ?

Thanks
 

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