I would like to find total time of 2 DATETIME. Now I have 2 DATETIMES: loginDT and logoutDT. For loginDT I get from Database and logoutDT is now. like this code below
DateTime loginDT = (DateTime)readerS["login_Date_Time"];
DateTime logoutDT = DateTime.Now;
DateTime total = ??????????????
How should I do? Thanks All