‎2007 Mar 06 7:40 AM
Hi,
Iam using Date mask to print the date in 96/01/10 (year/month/Date),(CHINA) but iam getting 0.
This is the code i have written.
SET DATE MASK = 'YY/MM/DD'
,, ,,®UD-SWABZ(16)& ( i have to get the date from this field ).
Any one help.
Thanks,
Donald
‎2007 Mar 06 8:40 AM
Hi,
you can take the help from this code :
<b>data : day(2), month(2), year(2).
data : date1(10).
data : date type sy-datum.
date = sy-datum.
day = date+6(2).
month = date+4(2).
year = date+2(2).
write: date.
concatenate year '/' month '/' day into date1.
write : date1.</b>
If it is helpful, please donot forget to reward the points.
Sandeep
‎2007 Mar 06 8:40 AM
Hi,
you can take the help from this code :
<b>data : day(2), month(2), year(2).
data : date1(10).
data : date type sy-datum.
date = sy-datum.
day = date+6(2).
month = date+4(2).
year = date+2(2).
write: date.
concatenate year '/' month '/' day into date1.
write : date1.</b>
If it is helpful, please donot forget to reward the points.
Sandeep
‎2007 Mar 06 9:00 AM
These commands are used for specifying the format of date and
time and setting the default country.
<b> /:SET DATE MASK = 'YYYY/MM/DD'</b>
Refer this link