‎2008 Jun 30 10:12 AM
Hi Experts,
Can any one please help me how to change the system time to a particular time zone in ABAP program, for example India time zone.
Is there any function module for that?
‎2008 Jun 30 10:20 AM
Hi Vikram,
The function module IB_CONVERT_FROM_TIMESTAMP is used to get the time in required timezone.
The input parameters for this are the timestamp obtained from the above function module and the timezone, to which the time needs to be converted.
Hope this helps you.
Regards,
Chandra Sekhar
‎2008 Jun 30 10:20 AM
Hi Vikram,
The function module IB_CONVERT_FROM_TIMESTAMP is used to get the time in required timezone.
The input parameters for this are the timestamp obtained from the above function module and the timezone, to which the time needs to be converted.
Hope this helps you.
Regards,
Chandra Sekhar
‎2008 Jun 30 10:21 AM
JIT03_CONVERT_TIME_BY_TIMEZONE
make use of the above....Hope it helps...
‎2008 Jun 30 10:20 AM
Hi
try out this Fm Iam not sure but I hope it ll help you
BDL_GET_CENTRAL_TIMESTAMP
RKE_TIMESTAMP_CONVERT_INPUT (COnverts Local time to GMT )
RKE_TIMESTAMP_CONVERT_OUTPUT(Converst GMT to Local Time)
REGARDS
Pavan
‎2008 Jun 30 10:21 AM
Hi Vikram,
CONVERT for Timestamps
Converts a timestamp into the correct date and time for the current time zone
Syntax
CONVERT TIME STAMP <tst> TIME ZONE <tz> INTO DATE <d> TIME <t>.
CONVERT DATE <d> TIME <t> INTO TIME STAMP <tst> TIME ZONE <tz>.
As long as <tst> has type P(8) or P(11) with 7 decimal placed, and <tz> has type C(6), the time stamp <tst> will be converted to the correct date <d> and time <t> for the time zone <tz>.
‎2008 Jun 30 10:22 AM
Hi Vikram,
Make use of FM " /ISDFPS/CONV_TIME_ZONE".
Provide all the necessary parameters and you will get the time in the new time zone.
Reward points if helpful.
Thanks ,
Asha
‎2008 Jun 30 10:27 AM
FM TZON_GET_OFFSET and other FM of this group may be helpfull.
Kind regards,
hp