Im trying to calculate the timespan between two list box.
Heres my code....
Heres my code....
DateTime z = DateTime.Parse(listBox2.Items.ToString());
DateTime c = DateTime.Parse(listBox3.Items.ToString());
TimeSpan w = c - z;
listView1.Items.Add(w.ToString());

VulpesRank #55 · 29.2K reputationPosted Mar 1, 2015, 12:40 PM EST
Abhay ShankerRank #375 · 6.7K reputationPosted Feb 28, 2015, 9:21 PM EST
Dan Villena3 reputationPosted Mar 1, 2015, 1:17 AM EST