How to get date difference between two date variables?
In search i found every one using Datediff , but there is no method found in my c#.
1 Like
Hi,
We can also use DateDiff in C# as the following.
Microsoft.VisualBasic.DateAndTime.DateDiff("d",d1,d2,FirstDayOfWeek.Sunday,FirstWeekOfYear.System)
Regards,
3 Likes
i had gone trough it but, they have use DateDiff method. but in c# there is no dateDiff
Thnaks Bro , this worked for me.
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.