" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#008000" VLINK="004000" ALINK="#00C000">
TIME COMMAND
Purpose: Allows to enter or change the time measured by the system. If you
create a new file or change the existing one, the system time is
registered in the directory. The time can be changed from the
keyboard or from a batch file.
Syntax: TIME [/Q[UIET]] [hh[:mm[:ss[.xx]]][A|P]
Type: Internal command
Parameters:
hh - a number defining hours (the range is 0-23),
mm - a number defining minutes (the range is 0-59),
ss - a number defining seconds (the range is 0-59),
xx - a number defining hundredths of a second (the range is 0-99).
A or P - a.m. or p.m., respectively.
/Q[UIET] - doesn't prompt the user to enter the time.
Notes:
1. If the TIME command has no specified parameters, the following message
will be displayed:
Current time is hh:mm:ss.xx
Enter new time:_
If you do not want to change the time, press the [Enter] key. To change
the time, type the new time and press [Enter].
2. Hours, minutes, and seconds should be separated with a semicolon (:)
or a dot (.). Hundredths should be separated with a separator defined in
the country-dependent information file.
3. If the time is valid, the System will adopt it. Otherwise,
the following message will be displayed:
Invalid time
Enter new time:_
4. If the data you entered are not complete, for example only hours and
minutes, the rest parameters will be omitted by default.
5. Every time value will be accepted by the system, if the specified
numbers are in the mentioned ranges.
6. The TIME command format can be changed by the COUNTRY command in the
system configuration.
Example:
The command:
A>time
Current time is 00:25:16.65
Enter new time: 13:55_
Sets the following time: 13:55:00.00.