Tandy 1000 MS-DOS Reference Manual page 193

Hide thumbs Also See for 1000 MS-DOS:
Table of Contents

Advertisement

TIME
TIME
[time]
Chapter 6 / Command Reference
Internal
r
!
r--'
I
Displays or sets the time. You can change the time from the key-
board or from a batch file. (Normally, MS-DOS displays a time
prompt each time you start up your system.
It
does not, however,
if you use an AUTOEXEC.BAT file. Therefore, you may want to
include a TIME command in that file.)
Parameters
r:
time specifies-the time to set in the hh:mm:ss.cc format.
hh
=
0-23 (hours)
r
I
I
r
I
.
I
'
~
I
r - '
I
J
r--'
!
r
I
,
mm
=
0-59 (minutes)
ss
=
0-59 (seconds)
cc
=
0-99 (hundredths of a second)
If you include only part of the information (such as the hours)
and press
I
ENTER
I,
the fields that follow default to zero.
If you omit the entire time parameter, TIME displays the cur-
rent time and prompts you to enter the new time. Enter it in the
24-hour format, or press
I
ENTER
I
if you do not want to change the
time displayed.
Notes and Suggestions
• You can omit any part of the time parameter. However, if you
include a part of the time parameter, you must include all pre-
vious parts. For example, if you include the seconds (ss), you
must also include hours and minutes.
• When you change the time known to the system, you also
change the time in any application program you use. This can
be very handy.
Suppose you have a program that keeps track of customer
calls according to the date and time received. For some rea-
son, you get behind and can not enter the information at the
correct time. Simply enter it later, after turning back the
clock to the necessary time.
179

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents