The date fields in SAP Scripts can be formatted using the SET DATE MASK control command.
Eg.:
/: SET DATE MASK = 'MMMM DD, YY'
This displays the date as : September 26, 07
The following are the codes that can be used in the date mask:
| YY | Year (2 digits) | |||
| YYYY | Year (4 Digits) | |||
| MM | Month (2 Digits) | |||
| MMM | Month Name (Abbreviated) | |||
| MMMM | Month Name (Full) | |||
| DD | Day as two digits | |||
| DDD | Day name (Abbreviated) | |||
| DDDD | Day name |
|


No comments:
Post a Comment