Western date and time format strings

You can use these format strings to create custom date and time format.

Substring Name
Substring Value
Western DateTime
"{" +DateTime + "}"

"{" +DateTime + "}" + Separator(1) + "{" + DateTime + "}"

"{" +DateTime + "}" + "[" + Separator(1) + "{" + DateTime + "}" + "]"

DateTime
Date

Time

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.

The Separator is required if the second DateTime option is used and the format string of the first DateTime ends in a variable sized specification - M, MONTH, D, or DAY for Date or H24, H12, M, or S for Time.