Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

DATE CONVERSION

Former Member
0 Likes
447

hello friends

i want to convert my date format

01.01.2008

INTO

January 01, 2008

how can i do this

hlep me

regards

3 REPLIES 3
Read only

Former Member
0 Likes
418

do this way ..


DATA : V_DATE(12).

CALL FUNCTION 'CONVERSION_EXIT_SDATE_OUTPUT'
EXPORTING
INPUT = SY-DATUM
IMPORTING
OUTPUT = V_DATE.

WRITE : V_DATE.

Read only

Former Member
0 Likes
418

Hi,

Use the FM : CONVERSION_EXIT_LDATE_OUTPUT

Usage:

DATA ldate(20).

CALL FUNCTION 'CONVERSION_EXIT_LDATE_OUTPUT'

EXPORTING

input = sy-datum

IMPORTING

OUTPUT = ldate.

Input : 20081212

output : 12.December.2008

reward if helpful

raam

Read only

GayathriRR
Product and Topic Expert
Product and Topic Expert
0 Likes
418

Hi saathi,

Use table T247.

This gives the month number with text for every country's language.

Also FM :CALL FUNCTION 'CONVERSION_EXIT_IDATE_OUTPUT'

will need input : date (format YYMMDD)

output : 12 april 2008( DD-MM-YY)

Hope it helps

Regards,

Gayathri