Question: how to find difference between two dates vb.net?
Answer: Sub Main() ' Start date. Dim startDate As DateTime = New DateTime(2005, 2, 1, 3, 4, 12, 56) ' End date. ...  Dim diffDate As TimeSpan = endDate.Subtract(startDate) ' Spit it out. ...  Console.WriteLine(diffDate.Hours.ToString() + " Hours") Console.WriteLine(diffDate.Minutes.ToString() + " Minutes") ...  Console.ReadKey() End Sub.