<?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: Date difference in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-difference/m-p/3719509#M895397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhut,&lt;/P&gt;&lt;P&gt;  V_Diff should be a Int type variable , which will hold the difference of the dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the date is usually 8 characters long.&lt;/P&gt;&lt;P&gt;Why are you taking only 6 chracters of the mbadat?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_diff = date2 - date1. "v_diff will have difference in number of days date2 and date1 should be of date type and should have 8 characters in them.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi Kanth Talagana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 May 2008 09:19:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-01T09:19:13Z</dc:date>
    <item>
      <title>Date difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-difference/m-p/3719507#M895395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : vdiff like eban-badat,&lt;/P&gt;&lt;P&gt;         p_high like eban-badat,&lt;/P&gt;&lt;P&gt;         p_low like eban-badat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_high = mbadat-high+0(6).&lt;/P&gt;&lt;P&gt;p_low = mbadat-low+0(6).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;wish to calculate diffrence but vdiff is always having zero *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;vdiff = p_high - p_low.&lt;/P&gt;&lt;P&gt;  IF vdiff is not INITIAL.&lt;/P&gt;&lt;P&gt;    message id '00' type 'E' number '001'&lt;/P&gt;&lt;P&gt;       with 'Date Range should be 1 Month'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wht shuld be done to reslove thius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 09:06:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-difference/m-p/3719507#M895395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T09:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-difference/m-p/3719508#M895396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;resolved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 09:18:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-difference/m-p/3719508#M895396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T09:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Date difference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/date-difference/m-p/3719509#M895397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhut,&lt;/P&gt;&lt;P&gt;  V_Diff should be a Int type variable , which will hold the difference of the dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the date is usually 8 characters long.&lt;/P&gt;&lt;P&gt;Why are you taking only 6 chracters of the mbadat?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_diff = date2 - date1. "v_diff will have difference in number of days date2 and date1 should be of date type and should have 8 characters in them.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi Kanth Talagana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 09:19:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/date-difference/m-p/3719509#M895397</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T09:19:13Z</dc:date>
    </item>
  </channel>
</rss>

