Compare 2 Time Strings
-
Hi All I need to compare the difference between 2 time intervals... label1.text has a start time hh.mm.ss and label2 has an end time. I need to compare the time between the two. Is there a timeDiff like the dateDiff??? Please Help...
When people make you see red, be thankful your not colour blind.
-
Hi All I need to compare the difference between 2 time intervals... label1.text has a start time hh.mm.ss and label2 has an end time. I need to compare the time between the two. Is there a timeDiff like the dateDiff??? Please Help...
When people make you see red, be thankful your not colour blind.
hi check the TimeSpan class
Tamimi - Code
-
Hi All I need to compare the difference between 2 time intervals... label1.text has a start time hh.mm.ss and label2 has an end time. I need to compare the time between the two. Is there a timeDiff like the dateDiff??? Please Help...
When people make you see red, be thankful your not colour blind.
Was to quick asking the question.
Dim TimeStart As Date Dim TimeStop As Date TimeStart = CDate(labStartTime.Text) TimeStop = CDate(labStopTime.Text) labTimeDiff.Text = "Days from today: " & DateDiff(DateInterval.Second, TimeStart, TimeStop)
When people make you see red, be thankful your not colour blind.