The date format mask consists of a combination of individual format characters as defined for the jdeDATE API.
These individual format characters are as follows,
D : Day number, 1 or 2 digits
A : Day number, zero pad to 2 digits
Y : Day number, space pad to 2 digits
M : Month number, 1 or 2 digits
O : Month number, zero pad to 2 digits
N : Month number, space pad to 2 digits
T : Month number, by language, from UDC
B : Abbreviated month name, by language, from UDC
R : 2 digit year
E : 4 digit year
S : Date separator character (slash) , from configuration
C : Date separator character (comma), from configuration
Thereby using a combination of the above characters you can create any format mask as needed. Some of the most commonly used date format masks and their results are given below:-
ASOSE = DD/MM/YYYY
ASOSR = DD/MM/YY
ESOSA = YYYY/MM/DD
OSASE = MM/DD/YYYY
OSASR = MM/DD/YY
RSOSA = YY/MM/DD
Regards,
Shailesh