<?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: Date formats in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-date-formats-to-group-observations-in-PROC-MEANS/m-p/330809#M21958</link>
    <description>&lt;P&gt;Instead of &lt;FONT face="courier new,courier"&gt;by&lt;/FONT&gt;, try to use &lt;FONT face="courier new,courier"&gt;class&lt;/FONT&gt;&amp;nbsp;for your date variable, and the proper format.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2017 12:01:44 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-02-08T12:01:44Z</dc:date>
    <item>
      <title>Using date formats to group observations in PROC MEANS</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-date-formats-to-group-observations-in-PROC-MEANS/m-p/330782#M21951</link>
      <description>&lt;P&gt;Hi, I've formatted my dates to display at MONYY7. (Aug2016) .&amp;nbsp; I expected the data to group together when I ran&amp;nbsp;a proc means sum&amp;nbsp;and grouped be the formatted variable but it doesn't.&amp;nbsp; Is there a way to make it do so please?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 13:38:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-date-formats-to-group-observations-in-PROC-MEANS/m-p/330782#M21951</guid>
      <dc:creator>N_C</dc:creator>
      <dc:date>2017-02-08T13:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Date formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-date-formats-to-group-observations-in-PROC-MEANS/m-p/330802#M21957</link>
      <description>&lt;P&gt;You have used the word which answers your own question:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"I've formatted my dates to display at MONYY7. (Aug2016)"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Formats merely display the underlying data differently, they do not change the underlying data. &amp;nbsp;Hence you will still see the actual value of the data is number of days since a certain date (i.e. a SAS numeric date value), which is used when grouping. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As you haven't shown any test data or code, can I assume you have put the format statement in your means code - that might work. &amp;nbsp;If not just put your data to a character variable as month year value, and then group on that.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 11:51:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-date-formats-to-group-observations-in-PROC-MEANS/m-p/330802#M21957</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-02-08T11:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-date-formats-to-group-observations-in-PROC-MEANS/m-p/330809#M21958</link>
      <description>&lt;P&gt;Instead of &lt;FONT face="courier new,courier"&gt;by&lt;/FONT&gt;, try to use &lt;FONT face="courier new,courier"&gt;class&lt;/FONT&gt;&amp;nbsp;for your date variable, and the proper format.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 12:01:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-date-formats-to-group-observations-in-PROC-MEANS/m-p/330809#M21958</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-02-08T12:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date formats</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-date-formats-to-group-observations-in-PROC-MEANS/m-p/330823#M21959</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; Does exactly what I wanted now.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 13:15:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-date-formats-to-group-observations-in-PROC-MEANS/m-p/330823#M21959</guid>
      <dc:creator>N_C</dc:creator>
      <dc:date>2017-02-08T13:15:50Z</dc:date>
    </item>
  </channel>
</rss>

