Mercurial > hg > Members > kono > nitros9-code
annotate docs/nitros9guide/setime.refentry @ 1094:958740284209
Use <emphasis> instead of CAPITALS
author | roug |
---|---|
date | Tue, 08 Apr 2003 17:49:14 +0000 |
parents | 4dae346c4969 |
children |
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> | |
1094 | 23 <important> |
138 | 24 <para> |
1094 | 25 This command must be executed before OS-9 can |
138 | 26 perform multitasking operations. If the system does not have a real |
27 time clock this command should still be used to set the date for the | |
28 file system. | |
29 </para> | |
1094 | 30 </important> |
31 <tip> | |
32 <title>Systems With Battery Backed up Clocks</title> | |
138 | 33 <para> |
1094 | 34 <command>Setime</command> should still be run to |
138 | 35 start time-slicing, but only the <emphasis>year</emphasis> need be given, |
36 the date and time will be read from the clock. | |
37 </para> | |
1094 | 38 </tip> |
138 | 39 </refsect1> |
40 <refsect1><title>Examples</title> | |
41 <screen> | |
42 OS9: setime 82,12,22,1545 (Set to: Dec. 12, 1981, 3:45 PM) | |
43 | |
44 OS9: setime 821222 154500 (Same as above) | |
45 | |
46 OS9: setime 82 (For system with battery-backup clock) | |
47 </screen> | |
48 </refsect1> | |
49 </refentry> | |
50 |