Identifier: date_mode

Type

numeric

Description

The format used for the output of date values. Possible values are:

1

European Numeric (e.g. 21-11-1990)

2

US Numeric (e.g. 11/21/1990)

3

Verbose (e.g. Fri Nov 21, 1990)

4

Alpha (e.g. 21-Nov-1990)

5

Alpha No Century (e.g. 21-Nov-90)

6

European Numeric Reverse (e.g. 1990-11-21)

7

US Numeric Reverse (e.g. 1990/11/21)

8

Date representation of the current locale

9

User-defined format (date and time)

At system startup its value is 1. The value of this identifier determines the form of output when time values are displayed. With the exception of style 9, the time component of the identifier is appended to the date in the form HH:MM:SS unless all time components are zero.

For styles marked "Alpha" above, the month and day names in the output will be in the language of the current locale, which may not necessarily be English.

For style 9, the user-defined format, the user should supply a format via the system string identifier date_format.

See Also

Commands:

time

Identifiers:

current_date (time), current_time (time)

Structures:

time