Previous Topic

Book Contents

Book Index

Date Strings

Date String

Description

A

Each A is replaced by an alphabetic character from the field's contents. All others are replaced with an asterisk.

B

The letter B is replaced by a blank at that position.

D

Each D is replaced by the corresponding digit of the day of the month. DD is recommended.

E

Each E is replaced by the corresponding digit of the day of the month. Includes leading blanks.

F

Each F is replaced by the corresponding digit of the day of the month. Includes leading zeros.

J

Each J is replaced by the corresponding digit of the Julian date. JJJ is recommended.

K

Each K is replaced by the corresponding letter of the name of the month in lower case. An edit string of K(9) prints the entire name of the month.

L

Each L is replaced by the corresponding letter of the name of the month in upper case. An edit string of L(9) prints the entire name of the month.

M

Each M is replaced by the corresponding letter of the name of the month in mixed case. An edit string of M(9) prints the entire name of the month.

N

Each N is replaced by a digit of the number of the month. NN is recommended.

O

Each O is replaced by a digit of the number of the month. Skip leading blanks.

Q

Each Q is replaced by a digit of the number of the month. Including leading zeros.

P

P for PM. Nothing for AM.

U

Time of day using 12 hour clock.

Y

Each Y is replaced by the corresponding digit of numeric year. YY or YYYY is recommended.

T

Each T is replaced by a character of the time. The time is displayed as HH:MM:SS.DD.

W

Each W is replaced by the corresponding letter from the name of the day of the week. An edit W(9) prints the entire name.

X

Each X is replaced by one character from the SYS$ASCTIM representation of the date

,

A comma will be inserted at that position.

.

A period will be inserted at that position.

-

A dash will be inserted at that position

/

A slash will be inserted at that position.

See Also

Edit Strings

Alphabetic Strings

Numeric Strings