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 to GMT

Former Member
0 Likes
3,298

HI Experts,

Please help me converting UTC time to GMT time..

How to find the time zone?

Thanks,

4 REPLIES 4
Read only

Former Member
Read only

Former Member
0 Likes
1,494

use FM :

FITP_CONVERT_LOCAL_TIME_GMT

Read only

Former Member
0 Likes
1,494

Hi Vikram D,

If you want to change system TimeZone...

Then use Tcode STZAC

Might be u need to contact your basis person for the authorization for this T-Code..

Or if u need it to be done in ABAP then try this way...

DATA: 
        l_datum LIKE sy-datum,       " Date
        l_ctime LIKE sy-uzeit,       " Current time
        l_tstmp TYPE timestamp,      " Time Stamp        
 
l_datum = sy-datum.
l_ctime = sy-uzeit.
CONVERT DATE l_datum
              TIME l_ctime
         INTO TIME STAMP l_tstmp TIME ZONE sy-zonlo.

Also see below FMs..

LTRM_TIMESTAMP_CONVERT_INTO

STU3_ALERTS_CONV_UTC_2_LOCAL

TZON_CHECK_TIMEZONE

TZON_GET_TIMEZONE_TEXT

TZON_GET_USER_TIMEZONE

TZ_LOCATION_TIMEZONE

Hope it will solve your problem..

Thanks & Regards

ilesh 24x7

Read only

Former Member
0 Likes
1,494

Hi Vikram.

I have come across which I would like to share:

[ Concept related to UTC to GMT conversion|http://www.dxing.com/utcgmt.htm]

Related System fields:

SY-DATUT

Global date related to UTC (GMT).

TIMUT

Global time related to UTC (GMT)

TSTUT

Timestamp (date and time) related to UTC (GMT)

TZONE

Time difference from 'Greenwich Mean Time' (UTC) in seconds

Good Luck & Regards.

Harsh