Who can I calculate if the current time is x mins lesser than a specified time?
Printable View
Who can I calculate if the current time is x mins lesser than a specified time?
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!"