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
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Manas MohapatraRank #182 · 13.2K reputationPosted Sep 26, 2017, 9:04 PM EDT