Previous | Next | Contents | Index |
Control the formatting of dates in directory listings and message displays.
Requires SYSPRV or SYSNAM privilege to show information about users other than yourself.
SET DATE_DIRECTORY FORMAT
SET NODATE_DIRECTORY FORMAT
SHOW DATE_DIRECTORY FORMAT
Qualifiers Defaults /DAY=option None /MONTH=option None /SYSTEM_DEFAULT None /TEXT=text None /TO=option None /UIC="[g,m]" None /USER=username None /YEAR=digits None
None.
With
SET
andSHOW DATE_FORMAT
commands, you may control the presentation of dates in directory listings generated with theDIRECTORY
command and in the folder name, message number, date line shown when each message is displayed. The dates in actual message header lines will not be affected by this command.The format to use for displaying a date is specified through the use of the
/DAY
,/MONTH
, and/YEAR
qualifiers. The order in which those qualifiers appear on the command line designates the order in which the day, month, and year appear in displayed dates. Additional text such as slashes, commas, spaces, etc. which is to appear in a date may be specified with the/TEXT
qualifier.By default, the date format specified by any
LIB$DT_FORMAT
logical is used. If that logical is not defined, then the default format
is used. In the above example, the command is wrapped onto the second line for typographic reasons; the command must be entered as a single line.
EMAIL> SET DATE_FORMAT/DAY=NUMERIC=BLANK_FILL/TEXT="-" /MONTH=ABBREVIATED=UPPERCASE/TEXT="-"/YEAR
/DAY[=type[=option]]
Specifies the position of the day of the week or month in displayed dates. The accepted types areThe
ABBREVIATED Display the weekday name, abbreviated to three letters. ALPHABETIC Display the weekday name. NUMERIC Display the day of the month. ABBREVIATED
andALPHABETIC
types accept the optionsUPPERCASE
,LOWERCASE
, andCAPITALIZED
. TheNUMERIC
type accepts the optionBLANK_FILLED
,ZERO_FILLED
, andNO_FILL
./MONTH[=type[=option]]
Specifies the position of the month in displayed dates. The accepted types areThe
ABBREVIATED Display the month name, abbreviated to three letters. ALPHABETIC Display the month name. NUMERIC Display the month of the year. ABBREVIATED
andALPHABETIC
types accept the optionsUPPERCASE
,LOWERCASE
, andCAPITALIZED
. TheNUMERIC
type accepts the optionBLANK_FILLED
,ZERO_FILLED
, andNO_FILL
./SYSTEM_DEFAULT
The setting is the system-wide default for users who have not themselves selected a date format withSET DATE_FORMAT
. When used withSET NODATE_FORMAT
, removes the system-wide default./TEXT=text
Specifies text to show in displayed dates./YEAR[=digits]
Specifies the position of year in displayed dates. The optional digits value specifies how many digits of the year to display. If not specified, then four digits will be shown.
Shown below are several different formattings of the date January 31, 2012 along with the qualifiers to the
SET DATE_FORMAT
command required to achieve each of the formats shown.
31-JAN-2012 /DAY=NUM=BLANK_FILL/TEXT="-"/MONTH=ABBREV=UPPER/TEXT="-"/YEAR 2012.01.31 /YEAR/TEXT=./MONTH=NUM=ZERO_FILL/TEXT=./DAY=NUM=ZERO_FILL Jan 31, 2012 /MONTH=ABBREV=CAP/TEXT=" "/DAY=NUM=NO_FILL/TEXT=", "/YEAR 1/31/2012 /MONTH=NUME=NO_FILL/TEXT="/"/DAY=NUM=NO_FILL/TEXT="/"/YEAR 10.01.31 /YEAR=2/TEXT=./MONTH=NUM=ZERO_FILL/TEXT=./DAY=NUM=ZERO_FILL
Previous | Next | Contents | Index |