<?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: time comparison. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897037#M54457</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dear chandra kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One can use this logic :&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------" /&gt;&lt;P&gt;report abc.&lt;/P&gt;&lt;P&gt;data : t1 type sy-uzeit,&lt;/P&gt;&lt;P&gt;       t2 type sy-uzeit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       t1 = '1600'.&lt;/P&gt;&lt;P&gt;       t2 = '2100'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; sy-uzeit.&lt;/P&gt;&lt;P&gt;if sy-uzeit &amp;gt;= t1 and sy-uzeit &amp;lt;= t2.&lt;/P&gt;&lt;P&gt;write : 'current time is in between ' , t1 , 'and' , t2.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;write : 'current time is NOT in between ' , t1 , 'and' , t2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have opened my account in sdn for the first&lt;/P&gt;&lt;P&gt;time today and this is my first reply to you.&lt;/P&gt;&lt;P&gt;I Hope your purpose is solved.&lt;/P&gt;&lt;P&gt;Please give point if u feel satisfied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Amit Mittal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jan 2005 06:59:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-01-12T06:59:22Z</dc:date>
    <item>
      <title>time comparison.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897036#M54456</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;Thanks for your kind assistance.&lt;/P&gt;&lt;P&gt;I want to check whether Current time&lt;/P&gt;&lt;P&gt;is between 16:00 and 21:00&lt;/P&gt;&lt;P&gt;do we have any Function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chandra kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2005 05:43:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897036#M54456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-12T05:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: time comparison.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897037#M54457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dear chandra kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One can use this logic :&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------" /&gt;&lt;P&gt;report abc.&lt;/P&gt;&lt;P&gt;data : t1 type sy-uzeit,&lt;/P&gt;&lt;P&gt;       t2 type sy-uzeit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       t1 = '1600'.&lt;/P&gt;&lt;P&gt;       t2 = '2100'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; sy-uzeit.&lt;/P&gt;&lt;P&gt;if sy-uzeit &amp;gt;= t1 and sy-uzeit &amp;lt;= t2.&lt;/P&gt;&lt;P&gt;write : 'current time is in between ' , t1 , 'and' , t2.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;write : 'current time is NOT in between ' , t1 , 'and' , t2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have opened my account in sdn for the first&lt;/P&gt;&lt;P&gt;time today and this is my first reply to you.&lt;/P&gt;&lt;P&gt;I Hope your purpose is solved.&lt;/P&gt;&lt;P&gt;Please give point if u feel satisfied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Amit Mittal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2005 06:59:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897037#M54457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-12T06:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: time comparison.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897038#M54458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,Chandrea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If sy-uzeit between '16:00' and '21:00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2005 07:02:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897038#M54458</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-01-12T07:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: time comparison.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897039#M54459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's nice to know that we have a new member here at SDN. A hearty welcome to you. Hope to have a lot of discussions where we could share some interesting stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2005 07:14:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897039#M54459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-12T07:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: time comparison.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897040#M54460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a small point that I would like to make. Though it is a good idea to use the exisitng Function Modules to meet our requirements, it is not very wise to always spend much time in searching for a Function Module in cases as simple as this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are several ways in which you can check for the condition you want- The following is one of them...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if sy-uzeit between '080000' and '210000'.
* Do the processing.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jan 2005 07:26:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897040#M54460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-12T07:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: time comparison.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897041#M54461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This logic does not work if the time interval goes across midnight. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, lets say I want to check whether 02:00:00 is between 22:00:00 and 04:00:00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have a more robust logic for doing time comparison?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2008 22:02:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897041#M54461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-11T22:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: time comparison.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897042#M54462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will probably get more response if you open your own thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before you start, you have to know the date of all three times..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2008 22:13:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-comparison/m-p/897042#M54462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-11T22:13:45Z</dc:date>
    </item>
  </channel>
</rss>

