Western date format strings

Sub-String Name
Sub-String Value
Date
DateUnit + DatePart2(1)
DatePart2
Separator(1) + DateUnit + DatePart3(1)

"[" + Separator(1) + DateUnit + DatePart3(1) + "]"

DatePart3
Separator(1) + DateUnit + DatePart4(1)

"[" + Separator(1) + DateUnit + DatePart4(1) + "]"

DatePart4
Separator(1) + DateUnit

"[" + Separator(1) + DateUnit + "]"

Separator
Separator is optional. If specified, it can be up to 120 bytes, composed of non-alphabetic characters. Symbol table values, such as <CR>, can be used to indicate non-printable characters.

When DateUnit has a variable length (M, MONTH, D, DAY), a Separator must follow that DateUnit if data follows.