I have some 24 hour times that i am trying to compare to the users pc time
task time = 0500 thats 5:AM
say the users pc time is 3:AM
The Difference is 2 hours

task time = 1700 thats 5:PM
say the users pc time is 4:PM
The Difference is 1 hour

how can this be calculated with vb6 ?