<?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 grouping the date variable on weekly basis in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/grouping-the-date-variable-on-weekly-basis/m-p/776232#M31366</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i got some data on daily basis, but i want to convert it into weekly basis&lt;/P&gt;&lt;P&gt;i need it like on Saturday -Friday basis&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. 09-06-21&lt;/P&gt;&lt;P&gt;2. 14-06-21&lt;/P&gt;&lt;P&gt;3. 05-06-21&lt;/P&gt;&lt;P&gt;4. 11-06-21&lt;/P&gt;&lt;P&gt;5. 28-06-21&lt;/P&gt;&lt;P&gt;6. 25-06-21&lt;/P&gt;&lt;P&gt;7. 04-06-21&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where No.7 lies in one week, whereas No.1,3,4 lies in another week.&lt;/P&gt;&lt;P&gt;my data contains record from 2019, but i need it on weekly basis.&lt;/P&gt;&lt;P&gt;It will be helpful if its available in both SAS and excel solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks In Advance&lt;/P&gt;</description>
    <pubDate>Mon, 25 Oct 2021 16:39:54 GMT</pubDate>
    <dc:creator>Pooja98</dc:creator>
    <dc:date>2021-10-25T16:39:54Z</dc:date>
    <item>
      <title>grouping the date variable on weekly basis</title>
      <link>https://communities.sas.com/t5/New-SAS-User/grouping-the-date-variable-on-weekly-basis/m-p/776232#M31366</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i got some data on daily basis, but i want to convert it into weekly basis&lt;/P&gt;&lt;P&gt;i need it like on Saturday -Friday basis&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. 09-06-21&lt;/P&gt;&lt;P&gt;2. 14-06-21&lt;/P&gt;&lt;P&gt;3. 05-06-21&lt;/P&gt;&lt;P&gt;4. 11-06-21&lt;/P&gt;&lt;P&gt;5. 28-06-21&lt;/P&gt;&lt;P&gt;6. 25-06-21&lt;/P&gt;&lt;P&gt;7. 04-06-21&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where No.7 lies in one week, whereas No.1,3,4 lies in another week.&lt;/P&gt;&lt;P&gt;my data contains record from 2019, but i need it on weekly basis.&lt;/P&gt;&lt;P&gt;It will be helpful if its available in both SAS and excel solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks In Advance&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 16:39:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/grouping-the-date-variable-on-weekly-basis/m-p/776232#M31366</guid>
      <dc:creator>Pooja98</dc:creator>
      <dc:date>2021-10-25T16:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: grouping the date variable on weekly basis</title>
      <link>https://communities.sas.com/t5/New-SAS-User/grouping-the-date-variable-on-weekly-basis/m-p/776235#M31367</link>
      <description>&lt;P&gt;I am not sure what your desired output would look like. You need to provide an example of the expected output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First question, are your "dates" actually SAS date values? Show us the variable type and format from Proc Contents for your variable.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 16:52:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/grouping-the-date-variable-on-weekly-basis/m-p/776235#M31367</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-10-25T16:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: grouping the date variable on weekly basis</title>
      <link>https://communities.sas.com/t5/New-SAS-User/grouping-the-date-variable-on-weekly-basis/m-p/776445#M31384</link>
      <description>Check function WEEK() .</description>
      <pubDate>Tue, 26 Oct 2021 12:27:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/grouping-the-date-variable-on-weekly-basis/m-p/776445#M31384</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-10-26T12:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: grouping the date variable on weekly basis</title>
      <link>https://communities.sas.com/t5/New-SAS-User/grouping-the-date-variable-on-weekly-basis/m-p/776460#M31385</link>
      <description>&lt;P&gt;SAS procedures (except SQL) that do summarizing will honor formatted values of class/group variables, so there you only need to use a week-based format.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 12:59:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/grouping-the-date-variable-on-weekly-basis/m-p/776460#M31385</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-10-26T12:59:00Z</dc:date>
    </item>
  </channel>
</rss>

