138
|
1 <refentry id="setime">
|
|
2 <refnamediv>
|
|
3 <refname>SETIME</refname>
|
|
4 <refpurpose>Activate and set system clock</refpurpose>
|
|
5 </refnamediv>
|
|
6
|
|
7 <refsynopsisdiv>
|
|
8 <cmdsynopsis>
|
|
9 <command>SETIME</command>
|
|
10 <arg choice="opt">y,m,d,h,m,s</arg>
|
|
11 </cmdsynopsis>
|
|
12 </refsynopsisdiv>
|
|
13
|
|
14 <refsect1><title>Description</title>
|
|
15 <para>
|
|
16 This command sets the system date and time, then activates the real
|
|
17 time clock. The date and time can be entered as parameters, or if no
|
|
18 parameters are given, SETIME will issue a prompt. Numbers are one
|
|
19 or two decimal digits using space, colon, semicolon or slash
|
|
20 delimiters. OS-9 system time uses the 24 hour clock, i.e., 1520 is
|
|
21 3:20 PM.
|
|
22 </para>
|
|
23 <para>
|
|
24 IMPORTANT NOTE: This command must be executed before OS-9 can
|
|
25 perform multitasking operations. If the system does not have a real
|
|
26 time clock this command should still be used to set the date for the
|
|
27 file system.
|
|
28 </para>
|
|
29 <para>
|
|
30 SYSTEMS WITH BATTERY BACKED UP CLOCKS: Setime should still be run to
|
|
31 start time-slicing, but only the <emphasis>year</emphasis> need be given,
|
|
32 the date and time will be read from the clock.
|
|
33 </para>
|
|
34 </refsect1>
|
|
35 <refsect1><title>Examples</title>
|
|
36 <screen>
|
|
37 OS9: setime 82,12,22,1545 (Set to: Dec. 12, 1981, 3:45 PM)
|
|
38
|
|
39 OS9: setime 821222 154500 (Same as above)
|
|
40
|
|
41 OS9: setime 82 (For system with battery-backup clock)
|
|
42 </screen>
|
|
43 </refsect1>
|
|
44 </refentry>
|
|
45
|