Skip to Content
0
Former Member
Dec 18, 2006 at 09:46 PM

problem with date convertion

16 Views

Hi friends,

I tried to use a simple format convertion, and i have problem, take a look of this code:

data: date_mask TYPE c LENGTH 8.

write sy-datum to date_mask DD/MM/YY.

write date_mask DD/MM/YY.

Output:

18.12.06

I debugg time:

sy-datum: 20061218

date_mask: 18.12.06

And i expect that the output were: "18/12/06".

Thanks,

Albio.-