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

Timezone settings

Former Member
0 Likes
622

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
Read only

Former Member
0 Likes
583

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

CONVERT DATE and CONVERT TIMESTAMP option ..

4 REPLIES 4
Read only

Former Member
0 Likes
583
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.

Read only

0 Likes
583

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

Read only

0 Likes
583

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.

Read only

Former Member
0 Likes
584

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

CONVERT DATE and CONVERT TIMESTAMP option ..