<?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: adding days to a mmyy format in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/adding-days-to-a-mmyy-format/m-p/255398#M17921</link>
    <description>&lt;P&gt;Add 14 to the variable. Variable = Variable + 14;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use INTNX to set the value to mid month, check the documentation for options for last parameter which is alignment.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2016 23:43:09 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-03-08T23:43:09Z</dc:date>
    <item>
      <title>adding days to a mmyy format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/adding-days-to-a-mmyy-format/m-p/255395#M17920</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently my date variable is in the format of mmyy (i.e. 01/2010)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the following code to read the data. While everything is read correctly, it automatically added first day of the month for each DOB (i.e. 01May1990).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data temp;
infile 'C:\users\';
informat DOB anydtdte.;
format DOB date9.;
input DOB
run;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Is there a way to add the 15th day of the month instead?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For simplicity I left out all the other variables like gender, postal code etc from informat and input function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 23:30:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/adding-days-to-a-mmyy-format/m-p/255395#M17920</guid>
      <dc:creator>jwill731</dc:creator>
      <dc:date>2016-03-08T23:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: adding days to a mmyy format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/adding-days-to-a-mmyy-format/m-p/255398#M17921</link>
      <description>&lt;P&gt;Add 14 to the variable. Variable = Variable + 14;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use INTNX to set the value to mid month, check the documentation for options for last parameter which is alignment.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 23:43:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/adding-days-to-a-mmyy-format/m-p/255398#M17921</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-08T23:43:09Z</dc:date>
    </item>
  </channel>
</rss>

