‎2008 Jul 10 2:12 PM
HI Experts,
Please help me converting UTC time to GMT time..
How to find the time zone?
Thanks,
‎2008 Jul 10 2:20 PM
http://www.s001.org/ABAP-Hlp/abentime-stamp-general.htm
http://searchsap.techtarget.com/tip/0,289483,sid21_gci826364,00.html
Edited by: Santosh Kapse on Jul 10, 2008 3:22 PM
‎2008 Jul 10 2:32 PM
‎2008 Jul 10 2:41 PM
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
‎2008 Jul 10 2:59 PM
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