<?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 creation in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Date-creation/m-p/861535#M340325</link>
    <description>&lt;P&gt;Read the documentation I linked to.&lt;/P&gt;
&lt;P&gt;Or don't you know how functions are used in code?&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2023 18:32:46 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2023-02-28T18:32:46Z</dc:date>
    <item>
      <title>SAS Date creation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Date-creation/m-p/861510#M340312</link>
      <description>&lt;P&gt;I have a code question to ask you. I will just send it in a moment in teams. I would like to create a couple new variables in a file,&lt;BR /&gt;I think (hope) it will be pretty straightforward.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;On each record in a data set I have:&lt;BR /&gt;Arrival Fiscal Month Arrival&lt;BR /&gt;Fiscal YearEncounter Date (formatted mmddyy10.)&lt;BR /&gt;On that same record, I want to create two new variables:An "Arrival Date" variable formatted as mmddyy10., where you just set the day to&lt;BR /&gt;the first of the month. So if someone has an Arrival Fiscal Month of 07 and an Arrival Fiscal Year of 2021, then their Arrival Date would&lt;BR /&gt;be 07/01/21.A flag for whether the Encounter Date occurs within the year prior to the Arrival Date (I assume this will be based on&lt;BR /&gt;some sort of datediff function of 365 days or 12 months)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 17:49:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Date-creation/m-p/861510#M340312</guid>
      <dc:creator>mesfandiari231</dc:creator>
      <dc:date>2023-02-28T17:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Date creation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Date-creation/m-p/861515#M340314</link>
      <description>&lt;P&gt;To build a SAS date from separate year/month/day values, use the&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/p0bo5thbfrcab1n1menkqxq2suiv.htm" target="_blank" rel="noopener"&gt;MDY&lt;/A&gt;&amp;nbsp;function.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 17:53:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Date-creation/m-p/861515#M340314</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-02-28T17:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Date creation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Date-creation/m-p/861525#M340319</link>
      <description>&lt;P&gt;How?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 18:06:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Date-creation/m-p/861525#M340319</guid>
      <dc:creator>mesfandiari231</dc:creator>
      <dc:date>2023-02-28T18:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Date creation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Date-creation/m-p/861535#M340325</link>
      <description>&lt;P&gt;Read the documentation I linked to.&lt;/P&gt;
&lt;P&gt;Or don't you know how functions are used in code?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 18:32:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Date-creation/m-p/861535#M340325</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-02-28T18:32:46Z</dc:date>
    </item>
  </channel>
</rss>

