2008 Nov 22 6:16 AM
Hi expert,
is there any FM to get the day and month given a date pass to the FM?
for eg: given 10.01.2008, the result that i want is to get
day = 10th, and month = 01.
Thanks.
2008 Nov 22 6:34 AM
Hi...
I am not sure whether there is any function module for your requirement,
instead i feel u can use
if date datein = 01
concatenate ( st )
elseif datein = 02
concatenate ( nd )
elseif datein = 03
concatenate ( rd )
elseif
concatenate (th )
endif.
endif.
endif.
i am just givina an idea....use the proper syntax and field name of urs.
Regards
Rachelarun
2008 Nov 22 5:11 PM
>
>
> for eg: given 10.01.2008, the result that i want is to get
> day = 10th, and month = 01.
>.
cant you use date4(2) for month, and date6(2) for day?