EndDate are of type
DateTime date1 = DateTime.Now; DateTime date2 = DateTime.Now.AddDays(-5); (date1 - date2).TotalDays
DateTime d1 = DateTime.Now; DateTime d2 = DateTime.Now.AddDays(-1); TimeSpan t = d1 - d2; double Difference = t.TotalDays;
I hope it helped you!
FavScripts.com is a free tool to save your favorite scripts and commands, then quickly find and copy-paste your commands with just few clicks.
Boost your productivity with FavScripts.com!