Posted on: 6/3/2013 9:26:44 AM | Views : 363

okay what i want to do is add the value of two time interval which are in minutes and then save it in database for an example
the code that i use now is
stime.Text=Now.ToString("hh:mm:ss tt") endtime.Text = Now.ToString("hh:mm:ss tt") stime = DateTime.Parse(starttimeaux.Text) etime = DateTime.Parse(endtimeaux.Text) diff = etime.Subtract(stime).Duration

the output that i get for this is like
00:10:00 , or 00:00:1
by considering  the above example what i want to do is add both the values and then save it in the database.


...

Go to the complete details ...