BASIC FUNCTIONS SECTION 5. 21
TIME$
5.21.3 Function TIME$ returns an eight character string with the time. It
Syntax
is used for reading and setting the software independent
calandar clock.
A$ = TIME$
OR
TIME$ = A$
Examples 10
DIM A$(0,8)
20
PRINT TIME$
30 A$=
11
10:5
11
40 TIME$ = A$
Remarlks The eight character string is in the format hh:mm:ss.
VER.V09F
Leading zeros may be omitted, but, for example, if the
minutes are zero, then one zero has to be entered.
To enter the time directly type the following:
TIME$="10:27"
Seconds must not be entered as this will give a Syntax
error. Seconds are set to
11
00
11
wben setting tbe clook,
PAGE-5 - 1lt2