Avatar of isnoend2001
isnoend2001
Flag for United States of America

asked on 

Time difference giving incorrect results vb 6

Dim Time As String
Time = "09:58 AM"

Minutes = DateDiff("n", Time, Format(Now, "short time"))
when ran at 8:57PM
the minutes say 661, but should be 780
what is wrong ?
Visual Basic ClassicVBA

Avatar of undefined
Last Comment
isnoend2001

8/22/2022 - Mon