07-29-2008 9:25 AM
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
07-29-2008 9:30 AM
If U want to show some other time then U have to use the
CONVERT DATE and CONVERT TIMESTAMP option ..
07-29-2008 9:28 AM
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.
07-29-2008 9:31 AM
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
07-29-2008 9:46 AM
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.
07-29-2008 9:30 AM
If U want to show some other time then U have to use the
CONVERT DATE and CONVERT TIMESTAMP option ..