EasyManuals Logo

Sinclair QL User Manual

Sinclair QL
422 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #141 background imageLoading...
Page #141 background image
DATE$
DME
clock
DATE$
is
a function which
will
return the date and time confained
in
the
OU;
clock.
The format
of
the
string returned by
DATE$
is:
"yyyy
mmm
dd
hh:mm:ss"
where yyyy
is
the
year
1984, 1985,
etc
mmm
is
the month Jan,
Feb
etc
d d
is
the
day
01
to
28, 29,
30,
31
hh
is
the
hour 00
to
23
mm
are
the
minutes 00
to
59
ss
are
the seconds 00
to
59
DATE
will
return
the
date
as
a floating
pOint
number which can be used
to
store
dates
and
limes
in
a compact
form.
If
DATE$
is
used
with
a numeric parameter then
the
parameter
will
be interpreted
as
a date
in
floating point form and
will
be converted
to
a date
string.
syntax:
DATE$
[get the time from the clock]
DATE$(numenc_expresslon) [get time from supplied parameter]
example:
i.
PRINT DATE$ [output
the
date and time]
ii.
PRINT
DATE$(234567)
[convert 234567
to
a date]
DAY$
is
a function which
will
return
the
current day
of
the
week.
If
a parameter
is
specified
then
DAY$
will
interpret the parameter
as
a date and
will
return the corresponding day
of
the
week.
14
DAY$
clock
syntax:
example:
DAY$
DAY$
(numenc_expression)
i.
PRINT DAY$
ii.
PRINT DAY$
(234567)
[get day from clock]
[get day from supplied parameterl
[output
the
day]
[output the day represented by
234567
(seconds)]
12/84

Other manuals for Sinclair QL

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Sinclair QL and is the answer not in the manual?

Sinclair QL Specifications

General IconGeneral
ProcessorMotorola 68008
Clock Speed7.5 MHz
RAM128 KB (expandable to 640 KB)
ROM48 KB
Operating SystemSinclair QDOS
Release Year1984
StorageMicrodrive tape loop
Graphics256x256 pixels, 8 colors
PortsRS-232, ROM cartridge
SoundBeeper (internal speaker)

Related product manuals