<?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: How to create date variable in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210392#M4907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In clinical trials data processing there is "always" a document that provides information on how incomplete dates (or anything else) should be imputed.&amp;nbsp; You should read that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps something like this.&lt;/P&gt;&lt;P&gt;01-JUL-year when you have only the year.&lt;/P&gt;&lt;P&gt;15-mon-year when you have only month and year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes the imputation is slightly different if the date is a start versus an end date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The point is, the answer to the imputation is in the documentation for the analysis and you already have that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Mar 2015 13:02:25 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2015-03-31T13:02:25Z</dc:date>
    <item>
      <title>How to create date variable</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210385#M4900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="_5wde" data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0"&gt;&lt;DIV class="_5w1r _d98 _5wdf _3okg" data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0.0" style="color: #373e4d; padding: 4px 6px 3px 5px; margin-left: 6px; background-color: #f6f7f8;"&gt;&lt;DIV data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0.0.0.0"&gt; I got cmstdtc values like&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0.0.0.0"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2003&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0.0.0.0"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2009 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0.0.0.0"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2009 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0.0.0.0"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aug 2013&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0.0.0.0"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aug-12-2014&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1m.$mid=11427299814042=236fc7b1b6173941c51.2:0.0.0.0"&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class="_5wd4 _1nc7 direction_ltr _5yt9" data-reactid=".1m.$mid=11427299891822=29fe9ef57f7c9bf6c17" style="margin: 0 4px; padding: 5px 0; color: #141823; font-family: helvetica, arial, 'lucida grande', sans-serif; font-size: 12px; background-color: #e9eaed;"&gt;&lt;/P&gt;&lt;DIV class="_5wd9" data-reactid=".1m.$mid=11427299891822=29fe9ef57f7c9bf6c17.2:0" style="margin-left: 35px;"&gt;&lt;DIV class="_5wde" data-reactid=".1m.$mid=11427299891822=29fe9ef57f7c9bf6c17.2:0.0"&gt;&lt;DIV class="_5w1r _d98 _5wdf _3okg" data-reactid=".1m.$mid=11427299891822=29fe9ef57f7c9bf6c17.2:0.0.0" style="color: #373e4d; padding: 4px 6px 3px 5px; margin-left: 6px; background-color: #f6f7f8;"&gt;&lt;DIV data-reactid=".1m.$mid=11427299891822=29fe9ef57f7c9bf6c17.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1m.$mid=11427299891822=29fe9ef57f7c9bf6c17.2:0.0.0.0.0"&gt;i need to substract or add this dates with another dates which are full length dates &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1m.$mid=11427299891822=29fe9ef57f7c9bf6c17.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1m.$mid=11427299891822=29fe9ef57f7c9bf6c17.2:0.0.0.0.0"&gt;Aug-12-2014 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1m.$mid=11427299891822=29fe9ef57f7c9bf6c17.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1m.$mid=11427299891822=29fe9ef57f7c9bf6c17.2:0.0.0.0.0"&gt;June-12-2014&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1m.$mid=11427299891822=29fe9ef57f7c9bf6c17.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1m.$mid=11427299891822=29fe9ef57f7c9bf6c17.2:0.0.0.0.0"&gt; Apr-12-2014&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1m.$mid=11427299891822=29fe9ef57f7c9bf6c17.2:0.0.0.0"&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 17:27:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210385#M4900</guid>
      <dc:creator>venkatnaveen</dc:creator>
      <dc:date>2015-03-25T17:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create date variable</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210386#M4901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well well, Have i not understood your question clearly or could you explain better please. Are you trying to extract date from the top 5 obs in your sample and then add or minus with other dates?It's difficult to understand what you are trying to achieve. Please provide your sample(have) dataset and (want) dataset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 17:33:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210386#M4901</guid>
      <dc:creator>naveen_srini</dc:creator>
      <dc:date>2015-03-25T17:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to create date variable</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210387#M4902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="_5wd9" data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0" style="margin-left: 35px;"&gt;&lt;/P&gt;&lt;DIV class="_5wde" data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0"&gt;&lt;DIV class="_5w1r _d98 _5wdf _3okg" data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0" style="color: #373e4d; padding: 4px 6px 3px 5px; margin-left: 6px; background-color: #f6f7f8;"&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0.0"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0.0"&gt; 2003&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0.0"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0.0"&gt; 2007 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0.0"&gt;2008 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN class="_5yl5" data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0.0"&gt;AUG-2009&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;AUG-2003 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;SEP-12-2009 and &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;iwant&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN style="line-height: 1.5em; color: #373e4d; font-size: 12px; background-color: #f6f7f8; font-family: helvetica, arial, 'lucida grande', sans-serif;"&gt;i want results like which day the patient came to the visit &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN style="line-height: 1.5em; color: #373e4d; font-size: 12px; background-color: #f6f7f8; font-family: helvetica, arial, 'lucida grande', sans-serif;"&gt;7 &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN style="line-height: 1.5em; color: #373e4d; font-size: 12px; background-color: #f6f7f8; font-family: helvetica, arial, 'lucida grande', sans-serif;"&gt;10&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN style="font-family: helvetica, arial, 'lucida grande', sans-serif; font-size: 12px; line-height: 1.5em;"&gt;15&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN style="font-family: helvetica, arial, 'lucida grande', sans-serif; font-size: 12px; line-height: 1.5em;"&gt; 16&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN style="font-family: helvetica, arial, 'lucida grande', sans-serif; font-size: 12px; line-height: 1.5em;"&gt; 10&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV data-reactid=".1o.$mid=11427305201320=201089b979bd337fb47.2:0.0.0.0"&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class="_5wd4 _1nc6 direction_ltr _5yt9" data-reactid=".1o.$&amp;lt;1427305418137=21159515333-454227002@mail=1projektitan=1com&amp;gt;" style="direction: ltr; position: relative; line-height: 1.28; margin: 0px 4px; overflow: hidden; padding: 5px 0px; color: #141823; font-family: helvetica, arial, 'lucida grande', sans-serif; font-size: 12px; background-color: #e9eaed;" title="11:14pm"&gt;&lt;/P&gt;&lt;DIV class="_5wd9" data-reactid=".1o.$&amp;lt;1427305418137=21159515333-454227002@mail=1projektitan=1com&amp;gt;.2:0" style="float: right;"&gt;&lt;DIV class="_5wde" data-reactid=".1o.$&amp;lt;1427305418137=21159515333-454227002@mail=1projektitan=1com&amp;gt;.2:0.0"&gt;&lt;DIV class="_5w1r _d98 _5wdf _3okg" data-reactid=".1o.$&amp;lt;1427305418137=21159515333-454227002@mail=1projektitan=1com&amp;gt;.2:0.0.0" style="border-width: 1px; border-style: solid; border-color: rgba(0, 0, 0, 0.180392) rgba(0, 0, 0, 0.180392) rgba(0, 0, 0, 0.290196); border-radius: 4px; -webkit-box-shadow: #dce0e6 0px 1px 0px; color: #373e4d; min-height: 14px; min-width: 0px; position: relative; text-shadow: rgba(255, 255, 255, 0.498039) 0px 1px 0px; white-space: pre-wrap; word-wrap: break-word; opacity: 1; -webkit-transition: opacity 0.1s ease-in; transition: opacity 0.1s ease-in; padding: 4px 5px 3px 6px; margin-right: 6px; max-width: 171px; background-image: -webkit-linear-gradient(bottom, #c7defe, #e7f1fe); background-color: #dbedfe;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 17:47:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210387#M4902</guid>
      <dc:creator>venkatnaveen</dc:creator>
      <dc:date>2015-03-25T17:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to create date variable</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210388#M4903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So if you have 2003 what date do you want to map that to?&lt;/P&gt;&lt;P&gt;Same for 2007/2008?&lt;/P&gt;&lt;P&gt;And if you have month &amp;amp; year what are you assuming the day is? Can you assume the first, last or should you assume middle of the month?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 18:09:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210388#M4903</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-03-25T18:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to create date variable</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210389#M4904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For anyday within a month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 10:45:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210389#M4904</guid>
      <dc:creator>venkatnaveen</dc:creator>
      <dc:date>2015-03-27T10:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to create date variable</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210390#M4905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are still way to vague.&lt;/P&gt;&lt;P&gt;Show exactly what kind of output you desire based on input data, and try to explain in more words why/how.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 07:36:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210390#M4905</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-03-31T07:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to create date variable</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210391#M4906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If first day of the month is OK, try this code.&amp;nbsp;&amp;nbsp;&amp;nbsp; Jim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data;&lt;/P&gt;&lt;P&gt;input&amp;nbsp; dat&amp;nbsp; $20.;&lt;/P&gt;&lt;P&gt;len=length(dat);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; monyr='&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ';&lt;/P&gt;&lt;P&gt; if len=4 then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ndat=input(dat,4.);&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; date=mdy(1,1,ndat);&lt;/P&gt;&lt;P&gt; end;&lt;/P&gt;&lt;P&gt;if len=8 then date=input(dat,monyy10.);&lt;/P&gt;&lt;P&gt;if len gt 8 then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; mon=scan(dat,1);&amp;nbsp; day=scan(dat,2);&amp;nbsp; yr=scan(dat,3); &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; *monyr=mon||yr;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; substr(monyr,1,3)=mon;&amp;nbsp; substr(monyr,4,4)=yr;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; date=input(monyr,monyy10.);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; nday=input(day,2.);&amp;nbsp; date=date+nday-1;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;format date&amp;nbsp; mmddyy10.;&lt;/P&gt;&lt;P&gt; cards;&lt;/P&gt;&lt;P&gt; 2003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2007&lt;/P&gt;&lt;P&gt;2008&lt;/P&gt;&lt;P&gt;AUG-2009&lt;/P&gt;&lt;P&gt;AUG-2003&lt;/P&gt;&lt;P&gt;SEP-12-2009 &lt;/P&gt;&lt;P&gt;proc print;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 12:50:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210391#M4906</guid>
      <dc:creator>Jim_G</dc:creator>
      <dc:date>2015-03-31T12:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create date variable</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210392#M4907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In clinical trials data processing there is "always" a document that provides information on how incomplete dates (or anything else) should be imputed.&amp;nbsp; You should read that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps something like this.&lt;/P&gt;&lt;P&gt;01-JUL-year when you have only the year.&lt;/P&gt;&lt;P&gt;15-mon-year when you have only month and year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes the imputation is slightly different if the date is a start versus an end date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The point is, the answer to the imputation is in the documentation for the analysis and you already have that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 13:02:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-create-date-variable/m-p/210392#M4907</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2015-03-31T13:02:25Z</dc:date>
    </item>
  </channel>
</rss>

