<?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 How do you assign a month and day in SAS when you only know the current days in year in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12953#M1791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp; I need help in identifying how to assign a month and day in SAS when you only know the periods number of days in the year.&amp;nbsp; For example, in 2010, 272 days represents September 29.&amp;nbsp; I don't see any functions that would help me do that.&amp;nbsp; Does anyone have any suggestions? I am getting this data from an extract of raw data from an Oracle database.&amp;nbsp; The complete date for September 29, 2010 from the raw data is 110272.&amp;nbsp; I have figured out how to identify the year ... but can't figure out how to convert the number of days to a month and day.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2011 16:12:07 GMT</pubDate>
    <dc:creator>Luanne</dc:creator>
    <dc:date>2011-09-20T16:12:07Z</dc:date>
    <item>
      <title>How do you assign a month and day in SAS when you only know the current days in year</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12953#M1791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp; I need help in identifying how to assign a month and day in SAS when you only know the periods number of days in the year.&amp;nbsp; For example, in 2010, 272 days represents September 29.&amp;nbsp; I don't see any functions that would help me do that.&amp;nbsp; Does anyone have any suggestions? I am getting this data from an extract of raw data from an Oracle database.&amp;nbsp; The complete date for September 29, 2010 from the raw data is 110272.&amp;nbsp; I have figured out how to identify the year ... but can't figure out how to convert the number of days to a month and day.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 16:12:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12953#M1791</guid>
      <dc:creator>Luanne</dc:creator>
      <dc:date>2011-09-20T16:12:07Z</dc:date>
    </item>
    <item>
      <title>How do you assign a month and day in SAS when you only know the current days in year</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12954#M1792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the date is a number, you could use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format wantdate date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; wantdate=mdy(1,1,substr(put(havedate,6.),2,2))&lt;/P&gt;&lt;P&gt;&amp;nbsp; +substr(put(havedate,6.),4)-1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 16:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12954#M1792</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-09-20T16:22:17Z</dc:date>
    </item>
    <item>
      <title>How do you assign a month and day in SAS when you only know the current days in year</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12955#M1793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would need to know more about the coding scheme (or least a few more data points) but it looks like your number 110272 could be split into two pieces.&amp;nbsp; 110 represents the year (add it to 1900) and 272 represents to number of days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;281&amp;nbsp; data _null_;&lt;/P&gt;&lt;P&gt;282&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x=110272;&lt;/P&gt;&lt;P&gt;283&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sas=mdy(1,1,1900+int(x/1000)) + mod(x,1000) -1 ;&lt;/P&gt;&lt;P&gt;284&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; diff = x - sas;&lt;/P&gt;&lt;P&gt;285&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put x= sas= diff= sas date9.;&lt;/P&gt;&lt;P&gt;286&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x=110272 sas=18534 diff=91738 29SEP2010&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 16:26:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12955#M1793</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-09-20T16:26:53Z</dc:date>
    </item>
    <item>
      <title>How do you assign a month and day in SAS when you only know the current days in year</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12956#M1794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;year = 2010;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;days = 272;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;date = (input('01JAN'||put(year,4.),date9.) + days) - 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;format date date9.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc print; run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 16:41:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12956#M1794</guid>
      <dc:creator>NickR</dc:creator>
      <dc:date>2011-09-20T16:41:17Z</dc:date>
    </item>
    <item>
      <title>How do you assign a month and day in SAS when you only know the current days in year</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12957#M1795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Courier New; color: #0000ff;"&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;_null_&lt;SPAN style="color: #000000;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Courier New;"&gt;year = &lt;SPAN style="color: #008080;"&gt;&lt;STRONG&gt;2010&lt;/STRONG&gt;&lt;/SPAN&gt; ;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Courier New;"&gt;day_of_year = &lt;SPAN style="color: #008080;"&gt;&lt;STRONG&gt;272&lt;/STRONG&gt;&lt;/SPAN&gt; ;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Courier New;"&gt;date = mdy(&lt;SPAN style="color: #008080;"&gt;&lt;STRONG&gt;12&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;SPAN style="color: #008080;"&gt;&lt;STRONG&gt;31&lt;/STRONG&gt;&lt;/SPAN&gt;,year-&lt;SPAN style="color: #008080;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;) + day_of_year ;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Courier New;"&gt;&lt;SPAN style="color: #0000ff;"&gt;put&lt;/SPAN&gt; date = &lt;SPAN style="color: #008080;"&gt;date9.&lt;/SPAN&gt; ;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Courier New; color: #000080;"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;Luanne wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi!&amp;nbsp; I need help in identifying how to assign a month and day in SAS when you only know the periods number of days in the year.&amp;nbsp; For example, in 2010, 272 days represents September 29.&amp;nbsp; I don't see any functions that would help me do that.&amp;nbsp; Does anyone have any suggestions? I am getting this data from an extract of raw data from an Oracle database.&amp;nbsp; The complete date for September 29, 2010 from the raw data is 110272.&amp;nbsp; I have figured out how to identify the year ... but can't figure out how to convert the number of days to a month and day.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 16:45:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12957#M1795</guid>
      <dc:creator>Howles</dc:creator>
      <dc:date>2011-09-20T16:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do you assign a month and day in SAS when you only know the current days in year</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12958#M1796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN lang="EN-US" style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;I know that the question is already answered&lt;SPAN&gt; but let me just add that what you’re looking for is&lt;/SPAN&gt; the conversion from a Julian Date to a SAS date and SAS has a function for that: &lt;STRONG style="font-family: Arial, sans-serif;"&gt;DATEJUL&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN lang="EN-US" style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN lang="EN-US" style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;In your case, you can use, for example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN lang="EN-US" style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN lang="EN-US" style="color: #333333; font-family: Arial, sans-serif; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: navy; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;data &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;aaa;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN lang="EN-US" style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: teal; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;110272&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN lang="EN-US" style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y=input(substr(put(x,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: teal; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;6.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;),&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: teal; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: teal; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;)||substr(put(x,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: teal; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;6.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;),&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: teal; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;4&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: teal; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;3&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;),&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="color: teal; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;5.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN lang="EN-US" style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; z=datejul(y);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="color: blue; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;format&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt; z &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: teal; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;date9.&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: black; background-color: white; font-family: 'Courier New'; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;/hobbes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 19:19:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12958#M1796</guid>
      <dc:creator>Hobbes</dc:creator>
      <dc:date>2011-09-20T19:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do you assign a month and day in SAS when you only know the current days in year</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12959#M1797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; of course I'm too late to add much value, other than another Julian date approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 9pt; background-color: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;date1 = mdy(&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 9pt; background-color: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 9pt; background-color: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 9pt; background-color: white; font-family: 'Courier New';"&gt;2011&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;)-&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 9pt; background-color: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; +&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 9pt; background-color: white; font-family: 'Courier New';"&gt;272&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp; put&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; date1= &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;date11.&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 9pt;"&gt; date1= &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: teal; font-size: 9pt;"&gt;julian.&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 9pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It create these results in the Log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 8pt; font-family: 'SAS Monospace';"&gt;date1=29-SEP-2011 date1=11272&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;peterC&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 8pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 21:42:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12959#M1797</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-09-20T21:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do you assign a month and day in SAS when you only know the current days in year</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12960#M1798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Peter&lt;/P&gt;&lt;P&gt;Long time no see.&lt;/P&gt;&lt;P&gt;It is good to see you again.&lt;/P&gt;&lt;P&gt;As Peter said, in SAS there is already&amp;nbsp; a informat to read these data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;data want;
input a $ ;
b=input(substr(a,2),julian5.);
c=put(b,yymmdd10.);
put a= b= c=;
cards;
110272
110232
;
run;








a=110272 b=18534 c=2010-09-29
a=110232 b=18494 c=2010-08-20

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 07:08:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-do-you-assign-a-month-and-day-in-SAS-when-you-only-know-the/m-p/12960#M1798</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-09-21T07:08:31Z</dc:date>
    </item>
  </channel>
</rss>

