Who can I calculate if the current time is x mins lesser than a specified time?
Rabin Windows : Visual Basic 6 Enterprise / 3.0 (16-bit) DOS : QBasic 4.5 , Visual Basic For DOS Web : HTML , VBScript , PHP (Learning)
next time please look into the help file of visual studio the comand = DateAdd
Or use Code: if DateDiff("s",FirstDate, SecondDate) > x Then MsgBox "Greater!"
if DateDiff("s",FirstDate, SecondDate) > x Then MsgBox "Greater!"
Jop - validweb.nl Alcohol doesn't solve any problems, but then again, neither does milk.
Forum Rules