<?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: Sas Date question in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sas-Date-question/m-p/451385#M113781</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;If StartDate = '01Jan2018'd&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The "D" tells SAS to treat the string constant as a date.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Apr 2018 03:26:47 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2018-04-05T03:26:47Z</dc:date>
    <item>
      <title>Sas Date question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-Date-question/m-p/451381#M113777</link>
      <description>To check a sas date in an if condition I always go to a bookmarked site to look up the sas date.&lt;BR /&gt;&lt;BR /&gt;Is there a way to use the actual date in a date varible?&lt;BR /&gt;&lt;BR /&gt;For example instead of&lt;BR /&gt;If StartDate = 58251&lt;BR /&gt;&lt;BR /&gt;I would like to say&lt;BR /&gt;If StartDate = 201801&lt;BR /&gt;&lt;BR /&gt;Is there a way to do that9&lt;BR /&gt;&lt;BR /&gt;Thank you for your help</description>
      <pubDate>Thu, 05 Apr 2018 03:20:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-Date-question/m-p/451381#M113777</guid>
      <dc:creator>Bogusval</dc:creator>
      <dc:date>2018-04-05T03:20:15Z</dc:date>
    </item>
    <item>
      <title>Sas Date question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-Date-question/m-p/451382#M113793</link>
      <description>&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Double post deleted.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 07:10:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-Date-question/m-p/451382#M113793</guid>
      <dc:creator>Bogusval</dc:creator>
      <dc:date>2018-04-05T07:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sas Date question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-Date-question/m-p/451383#M113794</link>
      <description />
      <pubDate>Thu, 05 Apr 2018 03:21:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-Date-question/m-p/451383#M113794</guid>
      <dc:creator>Bogusval</dc:creator>
      <dc:date>2018-04-05T03:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sas Date question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-Date-question/m-p/451384#M113795</link>
      <description>&lt;P&gt;You can refer to a specific day without knowing the numeric value on SAS's date scale.&amp;nbsp; For example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if datevar = '04Apr2018'd then do;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The date must be in quotes, must be in the format illustrated here, and must add a "d" after the closing quote.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 03:26:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-Date-question/m-p/451384#M113795</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-04-05T03:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sas Date question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-Date-question/m-p/451385#M113781</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;If StartDate = '01Jan2018'd&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The "D" tells SAS to treat the string constant as a date.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 03:26:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-Date-question/m-p/451385#M113781</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-04-05T03:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sas Date question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-Date-question/m-p/451387#M113783</link>
      <description>Thank you very much! I will give that a try &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 05 Apr 2018 03:28:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-Date-question/m-p/451387#M113783</guid>
      <dc:creator>Bogusval</dc:creator>
      <dc:date>2018-04-05T03:28:45Z</dc:date>
    </item>
  </channel>
</rss>

