Mercurial > hg > Members > kono > nitros9-code
annotate docs/nitros9guide/setime.refentry @ 1093:4dae346c4969
Added crossreferences and lowercased synopsises
author | roug |
---|---|
date | Mon, 07 Apr 2003 21:01:46 +0000 |
parents | b5ff125a1d60 |
children | 958740284209 |
rev | line source |
---|---|
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> | |
1093 | 9 <command>setime</command> |
138 | 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 | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
138
diff
changeset
|
18 parameters are given, <command>setime</command> will issue a prompt. Numbers are one |
138 | 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> | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
138
diff
changeset
|
30 SYSTEMS WITH BATTERY BACKED UP CLOCKS: <command>Setime</command> should still be run to |
138 | 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 |