you need to substract the system time from the user input and do the rest with a timer control.
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
With the use of the DateDiff function and either the time function or the now function, and you can look these up in vb's help. The timer control is in the toolbox of the standard exe project and placing one on your form, selecting it, and pressing F1 will allow you to read all about it.
Good Luck
vb5prgrmr
Posting Virtuoso
1,912 posts since Mar 2009
Reputation Points: 156
Solved Threads: 296
You can find all info on line.
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434