Krishna Kumar

Krishna Kumar

  • NA
  • 135
  • 38.9k

How to use DateDIff function in C#

Sep 27 2017 12:41 AM
I have the below line of code in VB
DateDiff(DateInterval.Day, Date.Parse("dtupdated"), Date.Today()) <> 0 )
 
I didn't find the DateDiff function in C#.
 
Can anybody help me out how to write this in C#
 
Thanks in Advance 

Answers (1)