Remember the following rules when using the user date:
Use the DATEDIT keyword on the control specification to specify the date formats of UDATE and *DATE:
DATEDIT | UDATE format | *DATE format |
---|---|---|
*MDY | *MDY | *USA (mmddyyyy) |
*DMY | *DMY | *EUR (ddmmyyyy) |
*YMD | *YMD | *ISO (yyyymmdd) |
Note that the DATEDIT keyword also controls the format of the Y edit code.
If this keyword is not specified, the default is *MDY.