Application Development 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: 

Timezone settings

Former Member
0 Kudos

Hello Experts

Our Applicaion server is configured with the EST Time with Daylight Savings.

On my ABAP Code, is it necessary to use EST option with CONVERT DATE options to generate new Timestamp and with CONVERT TIMESTAMP options to get the date ?

Please confirm !

Cheers

RJ

1 ACCEPTED SOLUTION

Former Member
0 Kudos

If U want to show some other time then U have to use the

CONVERT DATE and CONVERT TIMESTAMP option ..

4 REPLIES 4

former_member188685
Active Contributor
0 Kudos
Our Applicaion server is configured with the EST Time with Daylight Savings.

If your server Following the EST time , then you will get the time and date accordingly.

But you want show different format then you have to use those CONVERSION s for date and time.

0 Kudos

Thanks for the reply !

Basically I am modifying some date fields in my program.

So you mean in the following Stmts:

CONVERT TIME STAMP <dref2> TIME ZONE tz INTO DATE lv_start_date TIME lv_start_time.

CONVERT DATE lv_new_sdate TIME sy-uzeit INTO TIME STAMP lv_sdate_timestamp TIME ZONE tz.

I do not want to explicilty mention EST in the Time Zone TZ ?

cheers

Edited by: Remo J on Jul 29, 2008 10:32 AM

0 Kudos

For testing puropose, I am in INDIA and my ZONE is INDIA

so following the sample

CONVERT TIME STAMP <dref2> TIME ZONE tz INTO DATE lv_start_date TIME lv_start_time.

write : sy-datlo, sy-timlo.

after this you check them with the sy-datlo and sy-timlo.

Both should be same.

Former Member
0 Kudos

If U want to show some other time then U have to use the

CONVERT DATE and CONVERT TIMESTAMP option ..