Previous Topic

Next Topic

Book Contents

Book Index

Date String Format Specifiers

The following table describes the date and time format specifiers that can be used in EnterpriseSCHEDULE

Format Specifier

 

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. Ex: 30

E

 

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

F

 

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

J

 

Each J is replaced by the corresponding digit of the Julian date. JJJ is recommended. Ex: 121 (121st day of the year)

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. Ex: january

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. Ex: JANUARY

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.

Ex: January

N

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

Ex: 4

 

 

O

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

 

Ex: 4 (for April)

P

"am" or "pm" depending on the time

Q

Each Q is replaced by a digit of the number of the month including leading blanks.

Ex: 04 (for April)

 

R

 

Each R is replaced by the corresponding letter from the name of the day of the week in upper case.

Ex: WEDNESDAY

S

Each S is replaced by the corresponding letter from the name of the day of the week in lower case.

Ex: wednesday

 

 

T

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

 

Ex: 13:47:37.43

U

Time of day using 12 hour clock.

 

Ex: 01:47:37.43

W

Each W is replaced by the corresponding letter from the name of the day of the week in mixed case .

Ex: Monday

 

 

X

Each X is replaced by one character from the system representation of the date

 

Ex: Apr 30 00:00:00 2016

Y

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

Ex: 2016

 

 

Z

Each Z is replaced by a numeric character including leading blanks

 

Ex: 365

,

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

Appendix I - Formatting Date Strings in EnterpriseSCHEDULE

Date String Formatting Examples

Using Date Strings in Variables

Using Date Strings in Jobs

Using a formatted date string in Notifications