How do I create a stopwatch

BlitzMax Forums/BlitzMax Beginners Area/How do I create a stopwatch

Here is the simple version:
Local starttime = MilliSecs()
While True
	seconds = (MilliSecs()-starttime)/1000
	Print seconds / 3600 + ":" + (seconds / 60) Mod 60 + ":" + (seconds) Mod 60
EndWhile