<?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 Adding Hours to Current Date and Current Time in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-hours-to-current-date-and-current-time/m-p/6476133#M1418140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Requirement is that i need to add/subtract hours to current date and current time and then display the same..Incase of time its fine, but for date if goes to the next day i need to add 1 to date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Current Time is 11pm&lt;/P&gt;&lt;P&gt;Current Date is 12.03.2010&lt;/P&gt;&lt;P&gt;I want to add 3 hrs&lt;/P&gt;&lt;P&gt;So Time will become 2am&lt;/P&gt;&lt;P&gt;But Date needs to become 13.03.2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest any SAP Standard Function modules to do the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt; Vanessa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jan 2010 10:46:28 GMT</pubDate>
    <dc:creator>former_member609120</dc:creator>
    <dc:date>2010-01-18T10:46:28Z</dc:date>
    <item>
      <title>Adding Hours to Current Date and Current Time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-hours-to-current-date-and-current-time/m-p/6476133#M1418140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Requirement is that i need to add/subtract hours to current date and current time and then display the same..Incase of time its fine, but for date if goes to the next day i need to add 1 to date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Current Time is 11pm&lt;/P&gt;&lt;P&gt;Current Date is 12.03.2010&lt;/P&gt;&lt;P&gt;I want to add 3 hrs&lt;/P&gt;&lt;P&gt;So Time will become 2am&lt;/P&gt;&lt;P&gt;But Date needs to become 13.03.2010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest any SAP Standard Function modules to do the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt; Vanessa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 10:46:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-hours-to-current-date-and-current-time/m-p/6476133#M1418140</guid>
      <dc:creator>former_member609120</dc:creator>
      <dc:date>2010-01-18T10:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Hours to Current Date and Current Time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-hours-to-current-date-and-current-time/m-p/6476134#M1418141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check class &lt;STRONG&gt;CL_ABAP_TSTMP&lt;/STRONG&gt; method &lt;STRONG&gt;ADD&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Here you can add seconds to the time stamp, so convert to seconds and then add it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 10:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-hours-to-current-date-and-current-time/m-p/6476134#M1418141</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-01-18T10:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Hours to Current Date and Current Time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-hours-to-current-date-and-current-time/m-p/6476135#M1418142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use FM - &lt;STRONG&gt;C14B_ADD_TIME&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 11:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-hours-to-current-date-and-current-time/m-p/6476135#M1418142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-18T11:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Hours to Current Date and Current Time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-hours-to-current-date-and-current-time/m-p/6476136#M1418143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please do not ask date/time questions that have been answered many times before - locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 14:33:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-hours-to-current-date-and-current-time/m-p/6476136#M1418143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-18T14:33:25Z</dc:date>
    </item>
  </channel>
</rss>

