TIME
Keyboard
Executable
Y
es
Programmable
Y
es
In
an
IF
.
.
.
THEN
.
.
.
Y
es
This
command
converts
data
formatted
as
time
of
day
(HH:MM:SS),
into
the
number
of
seconds
past
midnight.
Item
Description
Range
time
of
day
string
expression
representing
the
time
in
24
hour
format
(set
drawing)
hours
literal
0
to
23
minutes
literal
0
to
59
seconds
literal;
default
=
0
0
to
59.99
delimiter
literal;
single
character
(see
text)
Example
Commands
Seconds=TIME(T$)
SET
TIME
TIME("8:37:20")
ON
TIME
TIME("12:10")
GOSUB
Lunch
Semantics
This
command
returns
a
positive
integer
,
in
the
range
0
to
86399,
equivalent
to
the
number
of
seconds
past
midnight.
While
any
number
of
non-numeric
characters
may
be
used
as
a
delimiter
,
a
single
colon
is
recommended.
Leading
blanks
and
non-numeric
characters
are
ignored.
B-10
BASIC
Commands
Specic
to
4396B