1 07/22/86 set_time_default, std
2
3
4 Syntax as a command: std key value -control_arg
5
6
7 Syntax as an active function: std key value -control_arg
8
9
10 Function: sets a default date/time value for the process. As an
11 active function, it returns "true" if the action requested was
12 successful, "false" otherwise.
13
14
15 Arguments:
16 key
17 is a keyword representing the default to set.
18 value
19 is a value to become the new default. If the value is "-system"
20 "-sys", the system default is used; if it is -pop, the command
21 uses a remembered value, saved by an earlier setting with -push. It
22 is an error if you haven't done an earlier -push.
23
24
25 Control arguments:
26 -push
27 saves the current value of the default before setting to the new
28 value.
29
30
31 List of keys:
32 date
33 sets the process default date. The value must be acceptable to
34 date_time_$format see "Notes".
35 date_time
36 sets the process default date_time. The value must be acceptable to
37 date_time_$format see "Notes".
38 debug, db
39 sets the process date/time debugging switch. The value may be "on"
40 or "true", or "off" or "false". When debugging is enabled,
41 convert_date_to_binary_ displays a description of time strings as
42 they are parsed, and identifies the exact location of any error in
43 the time string. The system default value is off.
44
45
46 language, lang
47 sets the process default language. The language name can be in any
48 of the languages known to the date/time system. To print a list of
49 acceptable language values, type "display_time_info -language".
50 time
51 sets the process default date. The value must be acceptable to
52 date_time_$format see "Notes".
53 zone
54 sets the process default zone. The zone abbreviation can be in any
55 of the languages known to the date/time system. To print a list of
56 acceptable zone values, type "display_time_info -zone" or
57 "display_time_info -map".
58
59
60 Notes: The named format strings acceptable to date_time_$format are
61 described in Section 1, under "Time Format." The names "date",
62 "date_time", and "time" are not allowed in this context.