<?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: Find Week within a Month in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-Week-within-a-Month/m-p/251290#M17745</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank again.&amp;nbsp; I use the expression you've given me:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token function"&gt;&lt;FONT color="#0000ff"&gt;week&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;&lt;FONT color="#a67f59"&gt;=&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;&lt;FONT color="#0000ff"&gt;intck&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&lt;FONT color="#999999"&gt;(&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;&lt;FONT color="#800000"&gt;'week'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&lt;FONT color="#999999"&gt;,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;&lt;FONT color="#0000ff"&gt;intnx&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&lt;FONT color="#999999"&gt;(&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;&lt;FONT color="#800000"&gt;'month'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&lt;FONT color="#999999"&gt;,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;&lt;FONT color="#0000ff"&gt;date&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&lt;FONT color="#999999"&gt;,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;&lt;STRONG&gt;&lt;FONT color="#008080"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;FONT color="#999999"&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class="token function"&gt;&lt;FONT color="#0000ff"&gt;date&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&lt;FONT color="#999999"&gt;)&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;&lt;FONT color="#a67f59"&gt;+&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;&lt;STRONG&gt;&lt;FONT color="#008080"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&lt;FONT color="#999999"&gt;;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Feb 2016 21:29:03 GMT</pubDate>
    <dc:creator>sdang</dc:creator>
    <dc:date>2016-02-19T21:29:03Z</dc:date>
    <item>
      <title>Find Week within a Month</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-Week-within-a-Month/m-p/250985#M17729</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;In Query Builder&amp;nbsp;I have PlayDayDate in this format:&amp;nbsp; 15FEB2016:00:00:00.&amp;nbsp; I want to create a new calculated column to find out the week within the month of February that PlayDayDate is in.&amp;nbsp;The output value should be 3 as&amp;nbsp; '15Feb2016' lands in week 3 of February, not 7 like SAS has given.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 23:31:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-Week-within-a-Month/m-p/250985#M17729</guid>
      <dc:creator>sdang</dc:creator>
      <dc:date>2016-02-18T23:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Find Week within a Month</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-Week-within-a-Month/m-p/250987#M17730</link>
      <description>&lt;P&gt;What the expression you used?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;  week=intck('week',intnx('month',date,0),date)+1; 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;A href="http://support.sas.com/kb/41/732.html" target="_self"&gt;Sample &lt;I&gt;41732: &lt;/I&gt;Determine the week number of a month&lt;/A&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2016 00:01:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-Week-within-a-Month/m-p/250987#M17730</guid>
      <dc:creator>mohamed_zaki</dc:creator>
      <dc:date>2016-02-19T00:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Find Week within a Month</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-Week-within-a-Month/m-p/250988#M17731</link>
      <description>&lt;P&gt;Thank you!.&amp;nbsp; It worked!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2016 00:07:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-Week-within-a-Month/m-p/250988#M17731</guid>
      <dc:creator>sdang</dc:creator>
      <dc:date>2016-02-19T00:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Find Week within a Month</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-Week-within-a-Month/m-p/251290#M17745</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank again.&amp;nbsp; I use the expression you've given me:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token function"&gt;&lt;FONT color="#0000ff"&gt;week&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;&lt;FONT color="#a67f59"&gt;=&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;&lt;FONT color="#0000ff"&gt;intck&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&lt;FONT color="#999999"&gt;(&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;&lt;FONT color="#800000"&gt;'week'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&lt;FONT color="#999999"&gt;,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;&lt;FONT color="#0000ff"&gt;intnx&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&lt;FONT color="#999999"&gt;(&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;&lt;FONT color="#800000"&gt;'month'&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&lt;FONT color="#999999"&gt;,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;&lt;FONT color="#0000ff"&gt;date&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&lt;FONT color="#999999"&gt;,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;&lt;STRONG&gt;&lt;FONT color="#008080"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;FONT color="#999999"&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN class="token function"&gt;&lt;FONT color="#0000ff"&gt;date&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&lt;FONT color="#999999"&gt;)&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;&lt;FONT color="#a67f59"&gt;+&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN class="token number"&gt;&lt;STRONG&gt;&lt;FONT color="#008080"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;&lt;FONT color="#999999"&gt;;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2016 21:29:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-Week-within-a-Month/m-p/251290#M17745</guid>
      <dc:creator>sdang</dc:creator>
      <dc:date>2016-02-19T21:29:03Z</dc:date>
    </item>
  </channel>
</rss>

