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 format

Former Member
0 Likes
595

output of report is showing correct format i.e

14.08.2008

but when downloaded to excel format it has changed to

08/14/2008

i want the above format in excel how to get that?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
561

U ca change the date format in excel by...

1. Go to control panel->Regional and Language Options.

2. Press Customize

3. Press Tab 'Date'

4. Change the short date format.

4 REPLIES 4
Read only

Former Member
0 Likes
561

Hi

Use FM

CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'

regards

BS

Read only

Former Member
0 Likes
562

U ca change the date format in excel by...

1. Go to control panel->Regional and Language Options.

2. Press Customize

3. Press Tab 'Date'

4. Change the short date format.

Read only

Former Member
0 Likes
561

Hi asks,

Make use of this write statement.

I hope default application server date is triggering for over coming from that try this.

write: sy-datum USING EDIT MASK '__.__.____'.

Cheers!!

Balu

Edited by: Balu CH on Oct 21, 2008 11:41 AM

Read only

BH2408
Active Contributor
0 Likes
561

Hi ,

if u want the same date format ..before writing to file

SET COUNTRY 'US'.

after completion that use the

SET COUNTRY SPACE.

diff format is becase that u r doing in diff location and server time differ format.. so like that u r coming ..

Regards,

Bharani

Edited by: SeethaRamaiah Bharani on Oct 21, 2008 8:08 AM