Hi........
I have two date startdate 05/14/2012 12:25:00 and enddate 05/15/2012 23:21:00 like this ,
i need diffrence of this time in terms of HH:MM:SS Please suggest.......................
Thanks in advance
Date in terms of HH:MM:SS?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

SenthilkumarRank #387 · 6.5K reputationPosted May 17, 2012, 3:47 AM EDT
Try this...
Pravinkumar BirajdarRank #4,618 · 334 reputationPosted May 17, 2012, 6:22 AM EDT
private void button2_Click(object sender, EventArgs e)
{
TimeSpan ts;
ts = Convert.ToDateTime(dateTimePicker2.Value).Subtract(Convert.ToDateTime(dateTimePicker1.Value));
label1.Text = ts.ToString();
}