Liberty BASIC Help Online |
TIME$( )
Description:
This function returns a string representing the current time of the system clock in 24 hour format. This function replaces the time$ variable used in QBasic. See also DATE$( ), Date and Time Functions
'this form of time$() produces this format
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
Usage:
' display the opening screen
print "Main selection screen Time now: "; time$()
print
print "1. Add new record"
print "2. Modify existing record"
print "3. Delete record"
Copyright (C) 2003 Shoptalk Systems
Liberty BASIC - http://www.libertybasic.com/