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