<?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: Subsetting dataset based on time in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-dataset-based-on-time/m-p/504275#M134923</link>
    <description>&lt;P&gt;12 pm is (per definition) noon, so your rule would include everything from 19:00 on one day to 12:00 on the next.&lt;/P&gt;
&lt;P&gt;I rather guess you want to include everything between '19:00:00't and '24:00:00't;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Oct 2018 12:51:53 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-10-15T12:51:53Z</dc:date>
    <item>
      <title>Subsetting dataset based on time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-dataset-based-on-time/m-p/504193#M134895</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I subset data based on a time variable? The variable has the time format which makes it look like "21:36:00." I want anyone between 7pm and 12pm?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;&lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Num&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;TIME.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Oct 2018 04:06:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-dataset-based-on-time/m-p/504193#M134895</guid>
      <dc:creator>lalaktgrau</dc:creator>
      <dc:date>2018-10-15T04:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting dataset based on time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-dataset-based-on-time/m-p/504194#M134896</link>
      <description>&lt;P&gt;use time constant&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;where time_variable between '7:00pm't and '12:00pm't;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 04:35:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-dataset-based-on-time/m-p/504194#M134896</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-10-15T04:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting dataset based on time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-dataset-based-on-time/m-p/504275#M134923</link>
      <description>&lt;P&gt;12 pm is (per definition) noon, so your rule would include everything from 19:00 on one day to 12:00 on the next.&lt;/P&gt;
&lt;P&gt;I rather guess you want to include everything between '19:00:00't and '24:00:00't;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 12:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-dataset-based-on-time/m-p/504275#M134923</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-15T12:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting dataset based on time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-dataset-based-on-time/m-p/504419#M134983</link>
      <description>&lt;P&gt;Do you know if there is a way to combine a date variable and a time variable to create a Datetime variable?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 18:20:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-dataset-based-on-time/m-p/504419#M134983</guid>
      <dc:creator>lalaktgrau</dc:creator>
      <dc:date>2018-10-15T18:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting dataset based on time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Subsetting-dataset-based-on-time/m-p/504432#M134988</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/161934"&gt;@lalaktgrau&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Do you know if there is a way to combine a date variable and a time variable to create a Datetime variable?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The dhms() function. Use the date as the first and the time as the fourth parameter; set the second and third parameter to zero.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 18:48:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Subsetting-dataset-based-on-time/m-p/504432#M134988</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-15T18:48:13Z</dc:date>
    </item>
  </channel>
</rss>

