Time

Time$
Syntax: TIME$([v]) - Number or string representing time with optional modifier v Optional modifiers are "seconds", "milliseconds" and "ms" and they work like this:

print time$ 'time now as string "16:21:44" print time$("seconds") 'seconds since midnight as number 32314 print time$("milliseconds") 'milliseconds since midnight as number 33221342 print time$("ms") 'milliseconds since midnight as number 33221342

code format="vbnet" 'returns a string in format hh:mm:ss print time$ 'returns a number print time$("seconds") 'returns a number print time$("milleseconds") 'returns a number, identical to "milliseconds" print time$("ms")

t$ = time$ print t$ sec = time$("seconds") print sec mil = time$("ms") print mil code