The problem is that DateTime.Now includes the date, "17:10:03" does not. Do it like this:
Dim dbaseTime As TimeSpan = TimeSpan.Parse("17:10:03") If DateTime.Now.TimeOfDay > dbaseTime Then Console.WriteLine("Let go home") End If
Do everything in your power to convert this type of row column to datetime column.
source share