how to diffrential between dates?
C#
5
Posts
3
Posters
0
Views
1
Watching
-
Hi All, Plz give code me code to take a difference between two date (difference must be in the days) one of them is present date other may be any. Thanx in advance,
-
Hi All, Plz give code me code to take a difference between two date (difference must be in the days) one of them is present date other may be any. Thanx in advance,
-
DateTime t = new DateTime(2007,07,17); TimeSpan diff = DateTime.Today.Date.Subtract(t); MessageBox.Show(diff.Days.ToString());
Thanx It works
-
Thanx It works
-
thanks RepliCrux