<?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: Date Function in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Date-Function/m-p/402987#M3649</link>
    <description>&lt;P&gt;MDY is the one to use here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;BirthDate = mdy(BirthMonth, BirthDay, BirthYear);&lt;BR /&gt;format BirthDate date9.; &lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 10 Oct 2017 23:19:24 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2017-10-10T23:19:24Z</dc:date>
    <item>
      <title>Date Function</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Date-Function/m-p/402984#M3648</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-10-10 at 16.54.53.png" style="width: 556px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/15761i0AB9E757D5FCD5BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-10-10 at 16.54.53.png" alt="Screen Shot 2017-10-10 at 16.54.53.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a function that creates a numeric variable called&amp;nbsp;BirthDt that basically combines the BirthYear, BirthMonth and BirthDay into one numerical variable, ie so the BirthDt for the first observation would be 199. I am struggling with which function to actually use for this. Any advice?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 22:59:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Date-Function/m-p/402984#M3648</guid>
      <dc:creator>marianhabesland</dc:creator>
      <dc:date>2017-10-10T22:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Date Function</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Date-Function/m-p/402987#M3649</link>
      <description>&lt;P&gt;MDY is the one to use here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;BirthDate = mdy(BirthMonth, BirthDay, BirthYear);&lt;BR /&gt;format BirthDate date9.; &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Oct 2017 23:19:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Date-Function/m-p/402987#M3649</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-10-10T23:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date Function</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Date-Function/m-p/402989#M3650</link>
      <description>&lt;P&gt;Thanks! That worked perfectly. There are so many date functions, I was struggling finding one to use.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 23:21:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Date-Function/m-p/402989#M3650</guid>
      <dc:creator>marianhabesland</dc:creator>
      <dc:date>2017-10-10T23:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Date Function</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Date-Function/m-p/402991#M3651</link>
      <description>&lt;P&gt;Good to hear. You are right, there are a lot of date functions and it can be hard to find a suitable one.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 23:28:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Date-Function/m-p/402991#M3651</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-10-10T23:28:56Z</dc:date>
    </item>
  </channel>
</rss>

