<?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 Removing date information in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Removing-date-information/m-p/960#M272</link>
    <description>I know it sounds strange, but I need to remove information from a date variable going from a variable that includes day of the month to just month.  It is part of a deidentification process so a simple format change is not sufficient.  Any suggestions on how to permanently restrict my data? &lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
    <pubDate>Wed, 05 Jul 2006 14:49:09 GMT</pubDate>
    <dc:creator>rab24</dc:creator>
    <dc:date>2006-07-05T14:49:09Z</dc:date>
    <item>
      <title>Removing date information</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Removing-date-information/m-p/960#M272</link>
      <description>I know it sounds strange, but I need to remove information from a date variable going from a variable that includes day of the month to just month.  It is part of a deidentification process so a simple format change is not sufficient.  Any suggestions on how to permanently restrict my data? &lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Wed, 05 Jul 2006 14:49:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Removing-date-information/m-p/960#M272</guid>
      <dc:creator>rab24</dc:creator>
      <dc:date>2006-07-05T14:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Removing date information</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Removing-date-information/m-p/961#M273</link>
      <description>You can try :&lt;BR /&gt;
1) creating a character variable with the formula PUT(myDate, MMYYS7.) and your new variable will only contain month and year&lt;BR /&gt;
2) create a new date variable with the formula INTNX("MONTH",myDate,0) and you new variable will be located on the 1st of the month</description>
      <pubDate>Wed, 05 Jul 2006 15:01:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Removing-date-information/m-p/961#M273</guid>
      <dc:creator>Olivier</dc:creator>
      <dc:date>2006-07-05T15:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Removing date information</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Removing-date-information/m-p/962#M274</link>
      <description>Thanks Olivier, that works perfectly.&lt;BR /&gt;
&lt;BR /&gt;
To SAS proper, I'm sure more experienced users probably wouldn't have a problem understanding this, but instead of the syntax intnx( 'month', date, 0) the Enterprise Guide help has the syntax example as intnx( 'month', date, 0, beg )</description>
      <pubDate>Wed, 05 Jul 2006 15:44:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Removing-date-information/m-p/962#M274</guid>
      <dc:creator>rab24</dc:creator>
      <dc:date>2006-07-05T15:44:29Z</dc:date>
    </item>
  </channel>
</rss>

