SyntaxFix
Write A Post
Hire A Developer
Questions
Why not just doing it this way?
DateTime dt1 = new DateTime(2009, 6, 1); DateTime dt2 = DateTime.Now; double totalminutes = (dt2 - dt1).TotalMinutes;
Hope this helps.