<?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 finding the week we are in the year in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/finding-the-week-we-are-in-the-year/m-p/426161#M27450</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to put the week number into a macro variable ex:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let today=%sysfunc(today());&lt;/P&gt;&lt;P&gt;%let week=%???? week(&amp;amp;today, 'v');&lt;/P&gt;&lt;P&gt;%put &amp;amp;week gives 2...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any suggestion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alain&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2018 16:43:34 GMT</pubDate>
    <dc:creator>alepage</dc:creator>
    <dc:date>2018-01-09T16:43:34Z</dc:date>
    <item>
      <title>finding the week we are in the year</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/finding-the-week-we-are-in-the-year/m-p/426161#M27450</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to put the week number into a macro variable ex:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let today=%sysfunc(today());&lt;/P&gt;&lt;P&gt;%let week=%???? week(&amp;amp;today, 'v');&lt;/P&gt;&lt;P&gt;%put &amp;amp;week gives 2...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any suggestion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alain&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 16:43:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/finding-the-week-we-are-in-the-year/m-p/426161#M27450</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2018-01-09T16:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: finding the week we are in the year</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/finding-the-week-we-are-in-the-year/m-p/426162#M27451</link>
      <description>&lt;P&gt;Macro language won't need quotes around "v" so the middle statement becomes:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%let week = %sysfunc(week(&amp;amp;today, v));&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 16:55:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/finding-the-week-we-are-in-the-year/m-p/426162#M27451</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-01-09T16:55:41Z</dc:date>
    </item>
  </channel>
</rss>

