<?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 Function module for comparing dates and times in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-comparing-dates-and-times/m-p/2199038#M469627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a date and time stamp in one filed for example as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;20070125183045&lt;/P&gt;&lt;P&gt;(the first 8 are date in YYYYMMDD format, the next 6 is time in HHMMSS format). Now I want to compare this value to another such value in terms of date and time. First I want to compare dates and then times. Do you know any function module that can serve this purpose?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Apr 2007 19:30:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-30T19:30:07Z</dc:date>
    <item>
      <title>Function module for comparing dates and times</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-comparing-dates-and-times/m-p/2199038#M469627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a date and time stamp in one filed for example as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;20070125183045&lt;/P&gt;&lt;P&gt;(the first 8 are date in YYYYMMDD format, the next 6 is time in HHMMSS format). Now I want to compare this value to another such value in terms of date and time. First I want to compare dates and then times. Do you know any function module that can serve this purpose?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 19:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-comparing-dates-and-times/m-p/2199038#M469627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T19:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for comparing dates and times</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-comparing-dates-and-times/m-p/2199039#M469628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can compare these using the function module DURATION_DETERMINE.  This fuction will give you the difference, and it can be in a view different units, such as the difference in days, months, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Funciton module takes in Start date and time and end date and time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch HEilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 19:33:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-comparing-dates-and-times/m-p/2199039#M469628</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-30T19:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for comparing dates and times</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-comparing-dates-and-times/m-p/2199040#M469629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Offset or SPLIT and then compare.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 19:34:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-comparing-dates-and-times/m-p/2199040#M469629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T19:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for comparing dates and times</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-comparing-dates-and-times/m-p/2199041#M469630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SD_DATETIME_DIFFERENCE&lt;/P&gt;&lt;P&gt;SD_CALC_DURATION_FROM_DATETIME&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 19:34:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-comparing-dates-and-times/m-p/2199041#M469630</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-04-30T19:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for comparing dates and times</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-comparing-dates-and-times/m-p/2199042#M469631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CCU_TIMESTAMP_DIFFERENCE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you can use it as timestamp itself. no need to split to time and date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 19:36:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-comparing-dates-and-times/m-p/2199042#M469631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T19:36:51Z</dc:date>
    </item>
  </channel>
</rss>

