thisform.tStart = datetime() thisform.tEnd = thisform.tStart + nMinutes * 60Then in the timer.Timer event:
lnSecondsRemaining = thisform.tEnd - datetime() with thisform.txtLeft .Value = stuff( right( ttoc( {^2002-1-1 00:00:00} + lnSecondsRemaining, 1 ), 4 ), 3, 0, ':' ) .Refresh() endwith>The timer part I understand. Making it display as 20:00 and then 19:59 and then 19:58 etc. is what I don't know how to do. If you do, a quick response will be greatly appreciated!