<?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: Re:thank you for quick response,but the days will repeat in this case how i need get the weeks in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Continous-weeks-calculation/m-p/915061#M360592</link>
    <description>&lt;P&gt;Yes, but week will be 1 for earliest date.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 14:26:25 GMT</pubDate>
    <dc:creator>Ganasingh</dc:creator>
    <dc:date>2024-02-08T14:26:25Z</dc:date>
    <item>
      <title>Continous weeks calculation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Continous-weeks-calculation/m-p/914907#M360545</link>
      <description>1.I need code to calculate continuous weeks if year changes also weeks needs to be continue like below.&lt;BR /&gt;2.week should begin with 1&lt;BR /&gt;&lt;BR /&gt;Date. Week&lt;BR /&gt;04/12/2023. 1&lt;BR /&gt;11/12/2023. 2&lt;BR /&gt;18/12/2023. 3&lt;BR /&gt;25/12/2023. 4&lt;BR /&gt;01/01/2024. 5&lt;BR /&gt;08/01/2024. 6&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Feb 2024 09:28:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Continous-weeks-calculation/m-p/914907#M360545</guid>
      <dc:creator>Ganasingh</dc:creator>
      <dc:date>2024-02-09T09:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hello everyone,kindly Help me on below request</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Continous-weeks-calculation/m-p/914919#M360548</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
date = "04dec2023"d;
do week = 1 to 6;
  output;
  date + 7;
end;
format date ddmmyys10.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Feb 2024 19:20:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Continous-weeks-calculation/m-p/914919#M360548</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-02-07T19:20:46Z</dc:date>
    </item>
    <item>
      <title>Re:thank you for quick response,but the days will repeat in this case how i need get the weeks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Continous-weeks-calculation/m-p/915002#M360571</link>
      <description>&lt;P&gt;T&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date. Week&lt;/P&gt;&lt;P&gt;04/12/2023. 1&lt;/P&gt;&lt;P&gt;04/12/2023 1&lt;/P&gt;&lt;P&gt;11/12/2023. 2&lt;/P&gt;&lt;P&gt;18/12/2023.3&lt;/P&gt;&lt;P&gt;04/12/2023. 1&lt;/P&gt;&lt;P&gt;25/12/2023. 4&lt;/P&gt;&lt;P&gt;25/12/2023. 4&lt;/P&gt;&lt;P&gt;01/01/2024. 5&lt;/P&gt;&lt;P&gt;08/01/2024. 6&lt;/P&gt;&lt;P&gt;25/12/2023. 4&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 05:02:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Continous-weeks-calculation/m-p/915002#M360571</guid>
      <dc:creator>Ganasingh</dc:creator>
      <dc:date>2024-02-08T05:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re:thank you for quick response,but the days will repeat in this case how i need get the weeks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Continous-weeks-calculation/m-p/915013#M360578</link>
      <description>&lt;P&gt;Does that mean you already have the dates in a dataset, and want to calculate the week numbers based on the earliest found date?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 08:31:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Continous-weeks-calculation/m-p/915013#M360578</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-02-08T08:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re:thank you for quick response,but the days will repeat in this case how i need get the weeks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Continous-weeks-calculation/m-p/915061#M360592</link>
      <description>&lt;P&gt;Yes, but week will be 1 for earliest date.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 14:26:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Continous-weeks-calculation/m-p/915061#M360592</guid>
      <dc:creator>Ganasingh</dc:creator>
      <dc:date>2024-02-08T14:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re:thank you for quick response,but the days will repeat in this case how i need get the weeks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Continous-weeks-calculation/m-p/915089#M360596</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
retain begin;
if _n_ = 1 then begin = date;
week = intck('week`,begin,date) + 1;
drop begin;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Feb 2024 15:36:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Continous-weeks-calculation/m-p/915089#M360596</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-02-08T15:36:39Z</dc:date>
    </item>
  </channel>
</rss>

