I have one varibale endtime which I have declared like this:
Dim endtime As TimeSpan.
I am getting some time to this variable. example(10:00:01). I want to check my endtime is greater than or equal to 12,clock so I try to given code like this:
if(endtime>=12)
But it is showing error like this:
Overload resolution failed because no accessible > can be called with this argument and value type integer cannot be converted to
system.timespan
.
How I can compare my endtime value to other time? If any one know please help me.