<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Time Zone Differences in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207941#M132732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; use the FM....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:l_time TYPE t,&lt;/P&gt;&lt;P&gt;     l_date type sy-datum,&lt;/P&gt;&lt;P&gt;     l_tzone   TYPE ttzdata-tzone,&lt;/P&gt;&lt;P&gt;     l_tstmp TYPE timestamp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'TZON_LOCATION_TIMEZONE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        if_country        = l_land1&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        ef_timezone       = l_tzone&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        no_timezone_found = 1&lt;/P&gt;&lt;P&gt;        OTHERS            = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_ctime = sy-uzeit.      " Get current server time&lt;/P&gt;&lt;P&gt;  l_datum = sy-datum.      " Get current server date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONVERT DATE l_datum&lt;/P&gt;&lt;P&gt;              TIME l_ctime&lt;/P&gt;&lt;P&gt;         INTO TIME STAMP l_tstmp TIME ZONE sy-zonlo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONVERT TIME STAMP l_tstmp TIME ZONE             &lt;/P&gt;&lt;P&gt;             l_tzone                 &lt;/P&gt;&lt;P&gt;           INTO DATE l_date&lt;/P&gt;&lt;P&gt;             TIME l_time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Apr 2006 13:59:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-10T13:59:21Z</dc:date>
    <item>
      <title>Time Zone Differences</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207935#M132726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I have a requirement to find the time difference between two countries. For ex: if its&amp;lt;b&amp;gt; 6 pm 9 - 4 - 2006 in usa  it  should be converted to  5 am 10 - 4 - 2006 indian time  . &lt;/P&gt;&lt;P&gt;Is there any funtion module to achieve this  ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks alot in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 11:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207935#M132726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T11:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Time Zone Differences</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207936#M132727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use FM JIT03_CONVERT_TIME_BY_TIMEZONE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 12:09:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207936#M132727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T12:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Time Zone Differences</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207937#M132728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Rajni Kanth,&lt;/P&gt;&lt;P&gt;Use the table TTZ5Z to get the time zone for the Country.&lt;/P&gt;&lt;P&gt;Use the table TTZZ to get the zone rule for the time zone.&lt;/P&gt;&lt;P&gt;Use the table TTZR to get the Difference of time zone from UTC for the zone rule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do the above steps for the two countries and find the Difference between the "Difference of time zone from UTC" values resulted in the two cases.&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 12:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207937#M132728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T12:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Time Zone Differences</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207938#M132729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    The function module IB_CONVERT_INTO_TIMESTAMP is used to convert the time to the GMT. The input parameters are DATE, TIME and the TIMEZONE(user's timezone, default value SY-ZONLO). The output parameter is the timestamp in GMT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output parameters are the date, time in the required timezone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The necessary code is in the following link..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://searchsap.techtarget.com/tip/1,289483,sid21_gci826364,00.html"&amp;gt;time zone difference&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;chithra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 12:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207938#M132729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T12:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Time Zone Differences</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207939#M132730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Check this out,I hope this will help to solve your problem.&lt;/P&gt;&lt;P&gt;CONVERT for Timestamps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Converts a timestamp into the correct date and time for the current time zone. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERT TIME STAMP &amp;lt;tst&amp;gt; TIME ZONE &amp;lt;tz&amp;gt; INTO DATE &amp;lt;d&amp;gt; TIME &amp;lt;t&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERT DATE &amp;lt;d&amp;gt; TIME &amp;lt;t&amp;gt; INTO TIME STAMP &amp;lt;tst&amp;gt; TIME ZONE &amp;lt;tz&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as &amp;lt;tst&amp;gt; has type P(8) or P(11) with 7 decimal placed, and &amp;lt;tz&amp;gt; has type C(6), the time stamp &amp;lt;tst&amp;gt; will be converted to the correct date &amp;lt;d&amp;gt; and time &amp;lt;t&amp;gt; for the time zone &amp;lt;tz&amp;gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZTIMEZONES .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Written by   : Parvathaneni Suresh Kumar      *&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Date         : 20-May-2002                    *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;In no event the author is responsible for     *&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;indirect, special, incidental or consequental *&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;damages (if any) arising out of the use of    *&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;this report                                   *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This program is used to convert the times between *&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;different timezones. This program deals with the  *&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;conversion of time from INDIA timezone to the PST *&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;timezone                                          *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*****************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Declaring the work variables.......................&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA :&lt;/P&gt;&lt;P&gt;  timestamp like TZONREF-TSTAMPS,&lt;/P&gt;&lt;P&gt;  time      like sy-uzeit,&lt;/P&gt;&lt;P&gt;  date      like sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The following function module is used to convert the&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;time and date into GMT timestamp&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_datlo           = sy-datum&lt;/P&gt;&lt;P&gt;    i_timlo           = sy-uzeit&lt;/P&gt;&lt;P&gt;    I_TZONE           = 'INDIA'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   E_TIMESTAMP       = timestamp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;The following function module is used to convert the&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;above obtained timestamp to PST timezone date and time.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'IB_CONVERT_FROM_TIMESTAMP'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_timestamp       = timestamp&lt;/P&gt;&lt;P&gt;    I_TZONE           = 'PST'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;    E_DATLO           = date&lt;/P&gt;&lt;P&gt;    E_TIMLO           = time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 'Date and Time at PST zone is ',date, time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mrutyunjaya Tripathy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 12:33:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207939#M132730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T12:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Time Zone Differences</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207940#M132731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use function module &amp;lt;b&amp;gt;SD_DATETIME_DIFFERENCE&lt;/P&gt;&lt;P&gt;CCU_TIMESTAMP_DIFFERENCE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 12:50:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207940#M132731</guid>
      <dc:creator>vinod_gunaware2</dc:creator>
      <dc:date>2006-04-10T12:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Time Zone Differences</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207941#M132732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; use the FM....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:l_time TYPE t,&lt;/P&gt;&lt;P&gt;     l_date type sy-datum,&lt;/P&gt;&lt;P&gt;     l_tzone   TYPE ttzdata-tzone,&lt;/P&gt;&lt;P&gt;     l_tstmp TYPE timestamp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'TZON_LOCATION_TIMEZONE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        if_country        = l_land1&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        ef_timezone       = l_tzone&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        no_timezone_found = 1&lt;/P&gt;&lt;P&gt;        OTHERS            = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_ctime = sy-uzeit.      " Get current server time&lt;/P&gt;&lt;P&gt;  l_datum = sy-datum.      " Get current server date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONVERT DATE l_datum&lt;/P&gt;&lt;P&gt;              TIME l_ctime&lt;/P&gt;&lt;P&gt;         INTO TIME STAMP l_tstmp TIME ZONE sy-zonlo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONVERT TIME STAMP l_tstmp TIME ZONE             &lt;/P&gt;&lt;P&gt;             l_tzone                 &lt;/P&gt;&lt;P&gt;           INTO DATE l_date&lt;/P&gt;&lt;P&gt;             TIME l_time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 13:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-zone-differences/m-p/1207941#M132732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T13:59:21Z</dc:date>
    </item>
  </channel>
</rss>

