<?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: Why the y value is 02JAN12 in the intnx function? in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Why-the-y-value-is-02JAN12-in-the-intnx-function/m-p/103237#M864</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply,&lt;/P&gt;&lt;P&gt;Generally weekday17w interval should give the 5 day week with saturday and sunday as the weekends.&lt;/P&gt;&lt;P&gt;So the next interval should be next week in intnx function and total number of 5 day weeks in the year in intck function&lt;/P&gt;&lt;P&gt;But this is not happening in my point of view&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2012 09:25:49 GMT</pubDate>
    <dc:creator>devarayalu</dc:creator>
    <dc:date>2012-07-10T09:25:49Z</dc:date>
    <item>
      <title>Why the y value is 02JAN12 in the intnx function?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Why-the-y-value-is-02JAN12-in-the-intnx-function/m-p/103235#M862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;77&lt;/P&gt;&lt;P&gt;78&amp;nbsp;&amp;nbsp; data _null_;&lt;/P&gt;&lt;P&gt;79&amp;nbsp;&amp;nbsp; x=intck('weekday17w', '01jan12'd, '31dec12'd);&lt;/P&gt;&lt;P&gt;80&amp;nbsp;&amp;nbsp; y=intnx('weekday17w', '01jan12'd, 1);&lt;/P&gt;&lt;P&gt;81&amp;nbsp;&amp;nbsp; put x= +1 y date.;&lt;/P&gt;&lt;P&gt;82&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x=261&amp;nbsp; 02JAN12&lt;/P&gt;&lt;P&gt;NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.12 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00 seconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 08:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Why-the-y-value-is-02JAN12-in-the-intnx-function/m-p/103235#M862</guid>
      <dc:creator>devarayalu</dc:creator>
      <dc:date>2012-07-10T08:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why the y value is 02JAN12 in the intnx function?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Why-the-y-value-is-02JAN12-in-the-intnx-function/m-p/103236#M863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the output you are expecting...&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; x=intck('weekday17w', '01jan12'd, '31dec12'd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; y=intnx('weekday17w', '01jan12'd, 1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; put x= +1 y weekdate17.; &lt;/P&gt;&lt;P&gt; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 09:19:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Why-the-y-value-is-02JAN12-in-the-intnx-function/m-p/103236#M863</guid>
      <dc:creator>shivas</dc:creator>
      <dc:date>2012-07-10T09:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why the y value is 02JAN12 in the intnx function?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Why-the-y-value-is-02JAN12-in-the-intnx-function/m-p/103237#M864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply,&lt;/P&gt;&lt;P&gt;Generally weekday17w interval should give the 5 day week with saturday and sunday as the weekends.&lt;/P&gt;&lt;P&gt;So the next interval should be next week in intnx function and total number of 5 day weeks in the year in intck function&lt;/P&gt;&lt;P&gt;But this is not happening in my point of view&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 09:25:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Why-the-y-value-is-02JAN12-in-the-intnx-function/m-p/103237#M864</guid>
      <dc:creator>devarayalu</dc:creator>
      <dc:date>2012-07-10T09:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why the y value is 02JAN12 in the intnx function?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Why-the-y-value-is-02JAN12-in-the-intnx-function/m-p/103238#M865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;01Jan2012 is sunday.next day of weekday is monday which 02Jan2012,Your code is working correct right.&lt;/P&gt;&lt;P&gt;06Jan2012 is friday and its giving 09Jan2012 as weekday starts.&lt;/P&gt;&lt;P&gt; data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; x=intck('weekday17w', '01jan12'd, '31dec12'd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; y=intnx('weekday17w', '01jan12'd, 1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; z=intnx('weekday17w', '06jan12'd, 1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; format y z date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; put (_all_) (=);&lt;/P&gt;&lt;P&gt; run;&lt;/P&gt;&lt;P&gt;x=261 y=02JAN2012 z=09JAN2012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 10:02:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Why-the-y-value-is-02JAN12-in-the-intnx-function/m-p/103238#M865</guid>
      <dc:creator>shivas</dc:creator>
      <dc:date>2012-07-10T10:02:02Z</dc:date>
    </item>
  </channel>
</rss>

