<?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: Greater than last Friday using WHERE in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644895#M192713</link>
    <description>It is a date-time variable</description>
    <pubDate>Mon, 04 May 2020 00:16:39 GMT</pubDate>
    <dc:creator>ywon111</dc:creator>
    <dc:date>2020-05-04T00:16:39Z</dc:date>
    <item>
      <title>Greater than last Friday using WHERE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644888#M192707</link>
      <description>&lt;P&gt;Is there a way to include&amp;nbsp;dates greater than last Friday into this where statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where expiry = '31DEC9999:23:59:59'dt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 00:06:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644888#M192707</guid>
      <dc:creator>ywon111</dc:creator>
      <dc:date>2020-05-04T00:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than last Friday using WHERE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644890#M192709</link>
      <description>&lt;P&gt;Are you talking specifically about Friday, May 1, 2020? Or do you want code that automatically figures out what date last Friday was?&lt;/P&gt;
&lt;DIV id="tap-translate"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Is variable EXPIRY really a date-time variable as your code snippet implies?&lt;/DIV&gt;
&lt;DIV id="tap-translate"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 May 2020 00:13:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644890#M192709</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-05-04T00:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than last Friday using WHERE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644891#M192710</link>
      <description>To automatically figure out date of last Friday.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 04 May 2020 00:13:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644891#M192710</guid>
      <dc:creator>ywon111</dc:creator>
      <dc:date>2020-05-04T00:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than last Friday using WHERE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644892#M192711</link>
      <description>&lt;P&gt;Is EXPIRY a date variable or a date-time variable?&lt;/P&gt;
&lt;DIV id="tap-translate"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 May 2020 00:15:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644892#M192711</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-05-04T00:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than last Friday using WHERE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644895#M192713</link>
      <description>It is a date-time variable</description>
      <pubDate>Mon, 04 May 2020 00:16:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644895#M192713</guid>
      <dc:creator>ywon111</dc:creator>
      <dc:date>2020-05-04T00:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than last Friday using WHERE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644897#M192715</link>
      <description>&lt;P&gt;So any time expiry is greater than 23:59:59 on the last Friday ... which is the same as any date-time greater than or equal to Saturday at 00:00:00, this should do it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where expiry &amp;gt;= intnx('dtweek.7',datetime(),0,'b');&lt;/CODE&gt;&lt;/PRE&gt;
&lt;DIV id="tap-translate"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 May 2020 00:21:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644897#M192715</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-05-04T00:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than last Friday using WHERE</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644901#M192718</link>
      <description>&lt;P&gt;If that obnoxious value is to indicate one that is not actually recorded then likely you should be using SAS Missing values.&lt;/P&gt;
&lt;P&gt;Otherwise also sorts of "except when the value is this not actually the right value but we put it in anyway".&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 02:12:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Greater-than-last-Friday-using-WHERE/m-p/644901#M192718</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-05-04T02:12:04Z</dc:date>
    </item>
  </channel>
</rss>

