<?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: Error while creating timestamp in local (CET) timezone in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115326#M1816436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;So for winter for me it is subtracting one hour and for summer two hours without daylight addition.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I think you meant the other way round, DST is active in summer &amp;amp; not in winters &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/568/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Feb 2014 11:11:50 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2014-02-17T11:11:50Z</dc:date>
    <item>
      <title>Error while creating timestamp in local (CET) timezone</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115322#M1816432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello fellow SDNers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting the DST timestamp (-1 hrs) when i try to create the timestamp. &lt;SPAN __jive_emoticon_name="plain" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_emote jive_macro" src="https://community.sap.com/568/images/emoticons/plain.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code that i have written -&lt;/P&gt;&lt;DIV style="background-color: #e7e5dc; width: auto; overflow: auto; margin: 1em 0 !important; padding-top: 1px; font-family: courier new,courier;"&gt;&lt;OL start="1" style="list-style: decimal; background-color: #fff; margin: 0 0 1px 3.5em !important; padding: 0; color: #5c5c5c;"&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;CONVERT &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;DATE &lt;/SPAN&gt;sy&lt;SPAN style="color: #808080;"&gt;-&lt;/SPAN&gt;datlo &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;TIME &lt;/SPAN&gt;sy&lt;SPAN style="color: #808080;"&gt;-&lt;/SPAN&gt;timlo &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;INTO &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;TIME &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;STAMP &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;DATA&lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;(&lt;/SPAN&gt;locl_tstmp&lt;SPAN style="color: #800080;"&gt;)&lt;/SPAN&gt; &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;TIME &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;ZONE &lt;/SPAN&gt;sy&lt;SPAN style="color: #808080;"&gt;-&lt;/SPAN&gt;zonlo&lt;SPAN style="color: #800080;"&gt;.&lt;/SPAN&gt; &lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;P&gt;Debugging session looks like this - &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/389363" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP documentation on CONVERT INTO TIMESTAMP says &amp;amp; i quote - &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;If the addition &lt;SPAN class="qtext"&gt;DAYLIGHT SAVING TIME&lt;/SPAN&gt; is not specified, then the value of &lt;SPAN class="qtext"&gt;dst&lt;/SPAN&gt; is set to "X" implicitly if the data in &lt;SPAN class="qtext"&gt;tim&lt;/SPAN&gt; and &lt;SPAN class="qtext"&gt;dat&lt;/SPAN&gt; is in summer time and is set to " " for data in winter time.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Refer. - &lt;A href="http://help.sap.com/abapdocu_740/en/abapconvert_date_time-stamp.htm" title="http://help.sap.com/abapdocu_740/en/abapconvert_date_time-stamp.htm"&gt;ABAP Keyword Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am i missing something? &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_emote jive_macro" src="https://community.sap.com/568/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 10:12:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115322#M1816432</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2014-02-17T10:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating timestamp in local (CET) timezone</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115323#M1816433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried one more thing apart from this. I create a local variable and give it a summer date. Now the timestamp contains 2 hours less.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for winter for me it is subtracting one hour and for summer two hours without daylight addition.&lt;/P&gt;&lt;P&gt;&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/389406" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 10:58:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115323#M1816433</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-02-17T10:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating timestamp in local (CET) timezone</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115324#M1816434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the timezone settings in tcode STZBC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 10:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115324#M1816434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-17T10:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating timestamp in local (CET) timezone</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115325#M1816435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;DEBOPRIYO MALLICK wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Check the timezone settings in tcode STZBC&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I had already done that before posting, sorry for not mentioning that in my post. &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/389423" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/389425" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imo no sane person would mess with these anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 11:08:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115325#M1816435</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2014-02-17T11:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating timestamp in local (CET) timezone</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115326#M1816436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;So for winter for me it is subtracting one hour and for summer two hours without daylight addition.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I think you meant the other way round, DST is active in summer &amp;amp; not in winters &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/568/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 11:11:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115326#M1816436</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2014-02-17T11:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating timestamp in local (CET) timezone</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115327#M1816437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Yes you are right what if we use sy-uzeit in place of local time?&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 11:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115327#M1816437</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-02-17T11:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating timestamp in local (CET) timezone</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115328#M1816438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesn't help either &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/568/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I never thought about the difference between &lt;A href="http://help.sap.com/abapdocu_740/en/abensystem_user_time_zones.htm"&gt;System &amp;amp; User Timezones&lt;/A&gt;, but yes in my case both are same.&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/389470" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since in my case the user TZ = system TZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 12:21:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115328#M1816438</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2014-02-17T12:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating timestamp in local (CET) timezone</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115329#M1816439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas&lt;/P&gt;&lt;P&gt;The output is correct.&lt;/P&gt;&lt;P&gt;The statement converts your date,time,timezone combination to system timestamp (UTC always).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you just want to get output as 20140217110409, the literal combination of datlo and timlo.&lt;/P&gt;&lt;P&gt;In this case you can "lie" to the statement, saying that timezone is UTC. As a result, UTC to UTC conversion would give you unchanged datetime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="background-color: #e7e5dc; width: auto; overflow: auto; margin: 1em 0 !important; padding-top: 1px; font-family: courier new,courier;"&gt;&lt;OL start="1" style="list-style: decimal; background-color: #fff; margin: 0 0 1px 3.5em !important; padding: 0; color: #5c5c5c;"&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;DATA&lt;/SPAN&gt; locl_tstmp &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; timestamp. &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;DATA&lt;/SPAN&gt; utc &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; sy-zonlo &lt;SPAN style="color: #0000ff;"&gt;VALUE&lt;/SPAN&gt; &lt;SPAN style="color: #4da619;"&gt;'UTC'&lt;/SPAN&gt;. &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;DATA&lt;/SPAN&gt; a &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; sy-datlo &lt;SPAN style="color: #0000ff;"&gt;VALUE&lt;/SPAN&gt; &lt;SPAN style="color: #4da619;"&gt;'20140217'&lt;/SPAN&gt;. &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;DATA&lt;/SPAN&gt; b &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; sy-timlo &lt;SPAN style="color: #0000ff;"&gt;VALUE&lt;/SPAN&gt; &lt;SPAN style="color: #4da619;"&gt;'110409'&lt;/SPAN&gt;. &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;DATA&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;c&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TYPE&lt;/SPAN&gt; sy-zonlo &lt;SPAN style="color: #0000ff;"&gt;VALUE&lt;/SPAN&gt; &lt;SPAN style="color: #4da619;"&gt;'CET'&lt;/SPAN&gt;. &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;CONVERT&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;DATE&lt;/SPAN&gt; a &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;TIME&lt;/SPAN&gt; b &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;INTO&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TIME&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;STAMP&lt;/SPAN&gt; locl_tstmp &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;TIME&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;ZONE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;c&lt;/SPAN&gt;. &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;WRITE&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; &lt;SPAN style="color: #4da619;"&gt;'suhas'&lt;/SPAN&gt;, locl_tstmp. &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;CONVERT&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;DATE&lt;/SPAN&gt; a &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;TIME&lt;/SPAN&gt; b &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;INTO&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TIME&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;STAMP&lt;/SPAN&gt; locl_tstmp &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;TIME&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;ZONE&lt;/SPAN&gt; utc. &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;WRITE&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; &lt;SPAN style="color: #4da619;"&gt;'utc winter'&lt;/SPAN&gt;, locl_tstmp. &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;a = &lt;SPAN style="color: #4da619;"&gt;'20141017'&lt;/SPAN&gt;. &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;CONVERT&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;DATE&lt;/SPAN&gt; a &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;TIME&lt;/SPAN&gt; b &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;INTO&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;TIME&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;STAMP&lt;/SPAN&gt; locl_tstmp &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;TIME&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;ZONE&lt;/SPAN&gt; utc. &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #ffffff; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;WRITE&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; &lt;SPAN style="color: #4da619;"&gt;'utc summer'&lt;/SPAN&gt;, locl_tstmp. &lt;/LI&gt;&lt;LI style="list-style: decimal-leading-zero; list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #f8f8f8; color: #5c5c5c; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 14px;"&gt; &lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if i understood the requirement incorrectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 18:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115329#M1816439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-17T18:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating timestamp in local (CET) timezone</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115330#M1816440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;The statement converts your date,time,timezone combination to system timestamp (UTC always).&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My bad - should have read the SAP documentation thoroughly (&lt;A href="http://help.sap.com/abapdocu_740/en/abentime_stamp_glosry.htm" title="http://help.sap.com/abapdocu_740/en/abentime_stamp_glosry.htm"&gt;ABAP Keyword Documentation&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;Time stamps in the ABAP runtime environment are POSIX time stamps &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;independent of time zone&lt;/EM&gt;&lt;/SPAN&gt;.&lt;/P&gt;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;In this case you can "lie" to the statement, saying that timezone is UTC.&lt;/P&gt;


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I don't need a workaround. I just wanted to know why did the statement always return UTC timestamp irrespective of the TZ (and the DST settings) &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/568/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't need the CONVERT INTO TIMESTAMP as well, i'll use GET TIMESTAMP. The reason i got confused was that the documentation of GET TIMESTAMP clearly states that it will generate UTC timestamp, but that of CONVERT INTO TIMESTAMP doesn't &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/568/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i assumed that the timestamps will be created in the TZ of the AppServer .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Note to me&lt;/STRONG&gt; - When in doubt RTFM, always! &lt;SPAN __jive_emoticon_name="angry" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/568/images/emoticons/angry.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 20:19:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-creating-timestamp-in-local-cet-timezone/m-p/10115330#M1816440</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2014-02-17T20:19:06Z</dc:date>
    </item>
  </channel>
</rss>

