1 07/22/86 print_time_defaults, ptd
2
3
4 Syntax as a command: ptd keys -control_arg
5
6
7 Syntax as an active function: ptd key -control_arg
8
9
10 Function: displays system or process time-related defaults.
11
12
13 Arguments:
14 key
15 selects which default value is to be displayed.
16
17
18 Control arguments:
19 -system, -sys
20 requests that the system defaults be displayed instead of the
21 process defaults.
22
23
24 List of keys:
25 date
26 displays the default date format. A date format shows the year,
27 month, and day in month.
28 date_time
29 displays the default date/time format. This combines both date and
30 time.
31 debug, db
32 displays the default status of debugging in the date/time system.
33
34
35 language, lang
36 displays the default language. Any time words in output time
37 strings are in this language.
38 time
39 displays the default time format. A time format shows the hour,
40 minutes, and optionally seconds.
41 zone
42 displays the default time zone name. Unless explicitly specified,
43 all input time strings are interpreted relative to this zone and all
44 output time values are expressed in this zone.
45
46
47 Notes: If set_time_default has pushed any values, these are also
48 shown. The keys specify which defaults to print. When called with no
49 keys, all time-related defaults are displayed, except for the debugging
50 switch which is shown only if it is on. As an active function, it
51 returns the current value of one of the defaults. The debugging switch
52 is returned as "true" if debugging is on, and "false" otherwise.
53
54 The values displayed are in the order date, date_time, time,
55 language, zone, and debug.