<?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 Display first Day of week from Week Number in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52921#M14571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using the followig code to produce the week number;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;week=INTCK(&lt;SPAN style="color: #800080; font-size: 12pt; font-family: Courier New;"&gt;'WEEK'&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;,INTNX(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 12pt; font-family: Courier New;"&gt;'YEAR'&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;,FinalDateCombined,&lt;/SPAN&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;0&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;),FinalDateCombined)+&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;1;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt;"&gt;How can i change the above code to display the first day of the week rather than display the week number?&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;﻿&lt;/SPAN&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Aug 2011 08:42:51 GMT</pubDate>
    <dc:creator>thegraduate</dc:creator>
    <dc:date>2011-08-23T08:42:51Z</dc:date>
    <item>
      <title>Display first Day of week from Week Number</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52921#M14571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using the followig code to produce the week number;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;week=INTCK(&lt;SPAN style="color: #800080; font-size: 12pt; font-family: Courier New;"&gt;'WEEK'&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;,INTNX(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 12pt; font-family: Courier New;"&gt;'YEAR'&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;,FinalDateCombined,&lt;/SPAN&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;0&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;),FinalDateCombined)+&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;1;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt;"&gt;How can i change the above code to display the first day of the week rather than display the week number?&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: arial,helvetica,sans-serif;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt;"&gt;﻿&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;﻿&lt;/SPAN&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt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P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 08:42:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52921#M14571</guid>
      <dc:creator>thegraduate</dc:creator>
      <dc:date>2011-08-23T08:42:51Z</dc:date>
    </item>
    <item>
      <title>Display first Day of week from Week Number</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52922#M14572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-family: Arial; font-size: 10pt;"&gt;What exactly do you want to get? Like for each observation mark if it is first day of week or not? Or instead of week number in all places to write date for Monday (like for this week 22AUG2011) or maybe Sunday?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-family: Arial; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-GB" style="font-family: Arial; font-size: 10pt;"&gt;I think you should explore weekday function.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 08:56:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52922#M14572</guid>
      <dc:creator>ieva</dc:creator>
      <dc:date>2011-08-23T08:56:28Z</dc:date>
    </item>
    <item>
      <title>Display first Day of week from Week Number</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52923#M14573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm after the actual day of the week (first day in week).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 09:00:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52923#M14573</guid>
      <dc:creator>thegraduate</dc:creator>
      <dc:date>2011-08-23T09:00:27Z</dc:date>
    </item>
    <item>
      <title>Display first Day of week from Week Number</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52924#M14574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Look at using a combination of INTNX function (to reset back to the start-date of the particular week) and a PUT function with the DOWNAME. format to get the "day of week".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Scott Barry&lt;BR /&gt;SBBWorks, Inc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 11:03:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52924#M14574</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2011-08-23T11:03:22Z</dc:date>
    </item>
    <item>
      <title>Display first Day of week from Week Number</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52925#M14575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; can you please provide some more detail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 11:42:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52925#M14575</guid>
      <dc:creator>thegraduate</dc:creator>
      <dc:date>2011-08-23T11:42:38Z</dc:date>
    </item>
    <item>
      <title>Display first Day of week from Week Number</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52926#M14576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some more detail from you would be helpful as well, particularly an example.&amp;nbsp; Are you looking for the dates of the first workday of each week?&amp;nbsp; Are you looking at 53 week calendar or are you shifting the extra day or 2 into the first or last of 53 weeks?&amp;nbsp; Are you counting holidays as being the first day of the week?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 12:05:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52926#M14576</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-08-23T12:05:10Z</dc:date>
    </item>
    <item>
      <title>Display first Day of week from Week Number</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52927#M14577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I haven't looked at holidays, although they might be a good idea. it is a 53 week calendar, and as the code states i am literally taking the week number from a date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So at the moment, for every application, I assign a week number to the date.&amp;nbsp; But the problem with that is the reports would show just the week number (30/31 etc). I would like it to show the date of the first working day within the week (Sunday/Monday). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;application 1 | 13/04/2011 | 11/04/2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where 11/04/2011 is the first day of the week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 12:15:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52927#M14577</guid>
      <dc:creator>thegraduate</dc:creator>
      <dc:date>2011-08-23T12:15:04Z</dc:date>
    </item>
    <item>
      <title>Display first Day of week from Week Number</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52928#M14578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you only trying to achieve something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data testdates;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input date date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format date wantdate date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; wantdate=date-weekday(date)+2;&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;13apr2011&lt;/P&gt;&lt;P&gt;19aug2011&lt;/P&gt;&lt;P&gt;23aug2011&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 12:29:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52928#M14578</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-08-23T12:29:58Z</dc:date>
    </item>
    <item>
      <title>Display first Day of week from Week Number</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52929#M14579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;Code similar to the one from Art, just in case if for Sundays you want the date of previous (not next) Monday, this could help:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; test;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;informat&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; date &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: teal; font-size: 10pt;"&gt;date9.&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;format&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; date &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: teal; font-size: 10pt;"&gt;date9.&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; date;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;datalines&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;10APR2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;11APR2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;13APR2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffc0; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;17APR2011&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; test2 (drop=dif);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;set&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; test;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;format&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; wantdate &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: teal; font-size: 10pt;"&gt;date9.&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; wantdate2 &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: teal; font-size: 10pt;"&gt;date9.&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: green; font-size: 10pt;"&gt;*difference to Monday as value of weekday function for Monday is 2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;dif=weekday(date)-&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;2&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;wantdate=date-dif;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; dif=-&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; wantdate=date-&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;6&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 12:37:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52929#M14579</guid>
      <dc:creator>ieva</dc:creator>
      <dc:date>2011-08-23T12:37:17Z</dc:date>
    </item>
    <item>
      <title>Display first Day of week from Week Number</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52930#M14580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need to shift Sundays to Mondays, then you also could just use the ifn function.&amp;nbsp; E.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data testdates;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input date date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format date wantdate date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; wantdate=ifn(weekday(date) gt 1,date-weekday(date)+2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; date+1);&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;10APR2011&lt;/P&gt;&lt;P&gt;11APR2011&lt;/P&gt;&lt;P&gt;13APR2011&lt;/P&gt;&lt;P&gt;17APR2011&lt;/P&gt;&lt;P&gt;13AUG2011&lt;/P&gt;&lt;P&gt;14AUG2011&lt;/P&gt;&lt;P&gt;15AUG2011&lt;/P&gt;&lt;P&gt;16AUG2011&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 14:36:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Display-first-Day-of-week-from-Week-Number/m-p/52930#M14580</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-08-23T14:36:34Z</dc:date>
    </item>
  </channel>
</rss>

