<?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: Regarding time stamp in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556208#M855701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishore,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System might be taking the local date and time while updation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Mar 2008 11:52:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-24T11:52:16Z</dc:date>
    <item>
      <title>Regarding time stamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556207#M855700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ABAPers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                I am working in PS module.In cprojects the date &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field displays like 13.02.2008 but at database level it sore it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as 12.02.2008 18.30.00.but i need the data as 13.02.2008&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one tell me abt this why its happening and also could &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u plz give me the solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&amp;amp;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kishore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 11:48:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556207#M855700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T11:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding time stamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556208#M855701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishore,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System might be taking the local date and time while updation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 11:52:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556208#M855701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T11:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding time stamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556209#M855702</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; It seems, you are comparing Project creation date and Project start date. Plz check the relevant fields properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;CS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 11:58:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556209#M855702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T11:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding time stamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556210#M855703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes.. good chance using local time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  GET TIME.
  loc_date = sy-datlo.
  loc_time = sy-timlo.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the 2 loc fields will not contain date and time of where the user is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using sy-datum and sy-UZEIT will give the server date and time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 11:58:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556210#M855703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T11:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding time stamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556211#M855704</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 already checked i am choosing role satrt date enddate.&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;&lt;/P&gt;&lt;P&gt;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 12:03:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556211#M855704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T12:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding time stamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556212#M855705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how r u updating thedate value in to the database? r u using a function module ?if yes, make sure that the function module does not change the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;sowjanya.b&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 12:03:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556212#M855705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-24T12:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding time stamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556213#M855706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishore,&lt;/P&gt;&lt;P&gt;There is just one simple funda behind the Date and time logic in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; It is absolutely useless to store Date and time directly in DB. Why ?&lt;/P&gt;&lt;P&gt;Because 00:00 a.m in London could mean 05:30 in India !! So If I (in India) store a Date 1st Feb 2008 , 10:00 a.m .. This time for a person in London could be invalid.. because he is behind your time zone..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the solution is to store the date/times in Timestamps format. Taking the above example.. 1st Feb 2008, 10:00 a.m (in India) will be stored as 20080201043000.&lt;/P&gt;&lt;P&gt;This time if seen in German Time zone will look as : 1st Feb 2008, 05:30 a.m.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple right &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; In India we store date as DD.MM.YYYY while in other countries they store it as MM.DD.YYYY.&lt;/P&gt;&lt;P&gt;The separator could be . or - or / .&lt;/P&gt;&lt;P&gt;The date format is user dependent. I might prefer to store it as DD.MM.YYYY and you might want to store it as MM-DD-YYYY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System does not bother what your format is. It always stores in YYYYMMDD (8 Char)&lt;/P&gt;&lt;P&gt;On screens if you want to display Date then it must always be shown in that users format who is seeing it. How to get this done ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : lv_date(10) type c.&lt;/P&gt;&lt;P&gt;write sy-datum into lv_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in LV_DATE variable the date will be stores in the users format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple right &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are function modules that do the same. But normally we should avoid use of FM to make code simpler, short and easy... no complications at all .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- So do I deserve some points here ? &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Apr 2008 16:33:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556213#M855706</guid>
      <dc:creator>former_member69765</dc:creator>
      <dc:date>2008-04-19T16:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding time stamp</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556214#M855707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 10:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-time-stamp/m-p/3556214#M855707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-15T10:01:13Z</dc:date>
    </item>
  </channel>
</rss>

