<?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: Timestamp function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-function-module/m-p/9261491#M1721889</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;See whether this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try function module&amp;nbsp; /OSP/TIMEZONE_RULE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/187421" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you the +/- value you are expecting in return parameter ES_TTZZ-ZONEDESC. But it will give you the difference with respect to UTC. You may have to call this function module again with the second time zone &amp;amp; calculate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 02:10:25 GMT</pubDate>
    <dc:creator>gokul_radhakrishnan3</dc:creator>
    <dc:date>2013-02-21T02:10:25Z</dc:date>
    <item>
      <title>Timestamp function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-function-module/m-p/9261488#M1721886</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;Is there a FM that will give the time difference between two timezones and also would give a sign as plus if the difference is to be added or minus if that difference is to be subtracted respectively.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 18:28:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-function-module/m-p/9261488#M1721886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-20T18:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-function-module/m-p/9261489#M1721887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amber,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there is no such function modules as per me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But u can use these function module to create timestamp to date &amp;amp; time and date &amp;amp; Time to timestamp. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B_CONVERT_INTO_TIMESTAMP' or&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IB_CONVERT_FROM_TIMESTAMP'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Use function module 1 two times for two different time zones and calculate it later as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;For Example:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Data:&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; time_diff type t.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* The following function module is used to convert the&lt;/P&gt;&lt;P&gt;* time and date into GMT timestamp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP'&lt;/P&gt;&lt;P&gt;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_datlo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = sy-datum&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_timlo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = sy-uzeit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I_TZONE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'INDIA'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; E_TIMESTAMP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = timestamp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* The following function module is used to convert the&lt;/P&gt;&lt;P&gt;* time and date into GMT timestamp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP'&lt;/P&gt;&lt;P&gt;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_datlo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = sy-datum&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_timlo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = sy-uzeit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I_TZONE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'U.K'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; E_TIMESTAMP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = timestamp1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;time_diff = timestamp - timestamp1.&lt;/P&gt;&lt;P&gt;so u can have time difference between INDIA and U.K timezones&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vineesh.B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 19:06:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-function-module/m-p/9261489#M1721887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-20T19:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-function-module/m-p/9261490#M1721888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or try to look at class &lt;A class="blue"&gt; &lt;/A&gt;CL_ABAP_TSTMP methods for recent versions of ECC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 21:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-function-module/m-p/9261490#M1721888</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-02-20T21:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-function-module/m-p/9261491#M1721889</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;See whether this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try function module&amp;nbsp; /OSP/TIMEZONE_RULE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/187421" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give you the +/- value you are expecting in return parameter ES_TTZZ-ZONEDESC. But it will give you the difference with respect to UTC. You may have to call this function module again with the second time zone &amp;amp; calculate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 02:10:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-function-module/m-p/9261491#M1721889</guid>
      <dc:creator>gokul_radhakrishnan3</dc:creator>
      <dc:date>2013-02-21T02:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-function-module/m-p/9261492#M1721890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or may be if /OSP function modules are not available in your system,&amp;nbsp; try function module TZON_GET_DATA or TZON_GET_OFFSET or for that matter, you can go through function group TZ_UTIL to check all the available function modules related to this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gokul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 02:15:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/timestamp-function-module/m-p/9261492#M1721890</guid>
      <dc:creator>gokul_radhakrishnan3</dc:creator>
      <dc:date>2013-02-21T02:15:24Z</dc:date>
    </item>
  </channel>
</rss>

