1
Answer

How to use DateDIff function in C#

Krishna Kumar

Krishna Kumar

7y
3.2k
1
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)