Pavithra L

Pavithra L

  • NA
  • 336
  • 63.3k

How calculate total time for two different times in c#

Dec 3 2015 6:31 AM
Hai,
 
Here I want to calculate total time of two different time .Here I can enter the starting date and starting time and after finished that work i can enter the end date and end time . 
 
How can I find the Total time for  these two  dates and times in c# windows application.
 
Please anybody give me an idea to solve this problem . Thanks in advance.
 
ex.
 
 Start Date    Start Time End DateEnd Time  Total Time
 01-12-201509.00 AM  03-12-201510.00 PM  Answer???
 

Answers (8)