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
 
Back
Top