<?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: simple intnx and date formatting question... in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/simple-intnx-and-date-formatting-question/m-p/63019#M17915</link>
    <description>Investigate using the SAMEDAY argument to INTNX in your first assignment statement.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Mon, 01 Mar 2010 14:28:52 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-03-01T14:28:52Z</dc:date>
    <item>
      <title>simple intnx and date formatting question...</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/simple-intnx-and-date-formatting-question/m-p/63018#M17914</link>
      <description>I'm trying to create a new date which is exactly 18 years prior to a date currently held in my data.&lt;BR /&gt;
&lt;BR /&gt;
I've used the intnx function only to find it gives the first day of the year that occurred 18 years ago.&lt;BR /&gt;
&lt;BR /&gt;
I tried this but I'm getting no joy as I can't get the date format to be recognized... can anyone help?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
dateminus18=intnx('year',start_date,-18);&lt;BR /&gt;
&lt;BR /&gt;
day=put(day(start_date),z2.);&lt;BR /&gt;
month=put(month(start_date),z2.);&lt;BR /&gt;
year=year(dateminus18);&lt;BR /&gt;
&lt;BR /&gt;
newdate=(compress(day||month||year));&lt;BR /&gt;
newdate2=input(newdate,ddmmyyn8.);</description>
      <pubDate>Mon, 01 Mar 2010 14:25:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/simple-intnx-and-date-formatting-question/m-p/63018#M17914</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-01T14:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: simple intnx and date formatting question...</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/simple-intnx-and-date-formatting-question/m-p/63019#M17915</link>
      <description>Investigate using the SAMEDAY argument to INTNX in your first assignment statement.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Mon, 01 Mar 2010 14:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/simple-intnx-and-date-formatting-question/m-p/63019#M17915</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-03-01T14:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: simple intnx and date formatting question...</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/simple-intnx-and-date-formatting-question/m-p/63020#M17916</link>
      <description>Awesome.  I knew it would be simples.</description>
      <pubDate>Mon, 01 Mar 2010 14:33:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/simple-intnx-and-date-formatting-question/m-p/63020#M17916</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-01T14:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: simple intnx and date formatting question...</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/simple-intnx-and-date-formatting-question/m-p/63021#M17917</link>
      <description>Awesome.  I knew it would be simples.</description>
      <pubDate>Mon, 01 Mar 2010 14:33:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/simple-intnx-and-date-formatting-question/m-p/63021#M17917</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-03-01T14:33:23Z</dc:date>
    </item>
  </channel>
</rss>

