<?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 Week format as weekending date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332229#M1178359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Guys thank you all for the responses , i simply used weekend(Date) as weekending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Worked a treat, but glad to learn all of the above date functions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2012 12:36:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-02T12:36:07Z</dc:date>
    <item>
      <title>Week format as weekending date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332223#M1178353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as part of my script I have the dates formatted as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: purple; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;[Date received]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;) &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;as&lt;/STRONG&gt; &lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: purple; font-family: 'Courier New';"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: purple; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;[Date received]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;)) &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;as&lt;/STRONG&gt; &lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: purple; font-family: 'Courier New';"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: purple; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;[Date received]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;)) &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;as&lt;/STRONG&gt; &lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: purple; font-family: 'Courier New';"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: purple; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;[Date received]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;)) &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;as&lt;/STRONG&gt; &lt;SPAN style="color: #339966;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;However rather than the Week format be as 1,2,3, as in week 1 week 2 week 3 etc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;Is it possible to have it formatted as the last date of the weeks, so if the 1/1/2012 was a monday&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;Week 1 = 7/1/2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;Week 2 = 14/1/2012&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;Etc etc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;Thanks a mill&lt;BR /&gt;A&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 12:12:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332223#M1178353</guid>
      <dc:creator />
      <dc:date>2012-04-02T12:12:38Z</dc:date>
    </item>
    <item>
      <title>Week format as weekending date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332224#M1178354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you want to have a look at the weekend() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor512"&gt;&lt;/A&gt;&lt;A name="WeekEnd"&gt;&lt;/A&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN style="background-color: #0a246a; color: #ffffff;"&gt;WeekEnd&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;date [, shift = 0 [,weekoffset = 0]]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Returns a value corresponding to a timestamp with the last millisecond of the last date ( Sunday ) of the calendar week containing &lt;SPAN class="Italic"&gt;date&lt;/SPAN&gt; The default output format will be the DateFormat set in the script. &lt;SPAN class="Italic"&gt;Shift&lt;/SPAN&gt; is an integer, where the value 0 indicates the week which contains &lt;SPAN class="Italic"&gt;date&lt;/SPAN&gt;. Negative values in &lt;SPAN class="Italic"&gt;shift&lt;/SPAN&gt; indicate preceding weeks and positive values indicate succeeding weeks. If you want to work with weeks not starting midnight between Sunday and Monday, indicate an offset in days in &lt;SPAN class="Italic"&gt;weekoffset&lt;/SPAN&gt;. This may be given as a real number indicating days and/or fractions of a day. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="background-color: #0a246a; color: #ffffff;"&gt;weekend&lt;/SPAN&gt; ( '2006-01-12' )&lt;/SPAN&gt; returns '2006-01-15' with an underlying numeric value corresponding to '2006-01-15 23:59:59.999'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="background-color: #0a246a; color: #ffffff;"&gt;weekend&lt;/SPAN&gt; ( '2006-01-12', -1 )&lt;/SPAN&gt; returns '2006-01-08' with an underlying numeric value corresponding to '2006-01-08 23:59:59.999'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;SPAN style="background-color: #0a246a; color: #ffffff;"&gt;weekend&lt;/SPAN&gt; ( '2006-01-12', 0, 1 )&lt;/SPAN&gt; returns '2006-01-16' with an underlying numeric value corresponding to '2006-01-16 23:59:59.999'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 12:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332224#M1178354</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-04-02T12:15:38Z</dc:date>
    </item>
    <item>
      <title>Week format as weekending date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332225#M1178355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the F1 help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4 style="background-color: #c0c0c0;"&gt;WeekEnd&lt;SPAN style="font-style: italic;"&gt;&lt;A name="kanchor514"&gt;&lt;/A&gt;&lt;A name="WeekEnd"&gt;&lt;/A&gt;( date [, shift = 0 [,weekoffset = 0]] )&lt;/SPAN&gt;&lt;/H4&gt;&lt;P&gt;Returns a value corresponding to a timestamp with the last millisecond of the last date ( Sunday ) of the calendar week containing &lt;SPAN style="font-style: italic;"&gt;date&lt;/SPAN&gt; The default output format will be the DateFormat set in the script. &lt;SPAN style="font-style: italic;"&gt;Shift&lt;/SPAN&gt; is an integer, where the value 0 indicates the week which contains &lt;SPAN style="font-style: italic;"&gt;date&lt;/SPAN&gt;. Negative values in &lt;SPAN style="font-style: italic;"&gt;shift&lt;/SPAN&gt; indicate preceding weeks and positive values indicate succeeding weeks. If you want to work with weeks not starting midnight between Sunday and Monday, you may indicate an offset in days in &lt;SPAN style="font-style: italic;"&gt;weekoffset&lt;/SPAN&gt;. This may be given as a real number indicating days and/or fractions of a day.&lt;/P&gt;&lt;H2&gt;Example:&lt;/H2&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;weekend&lt;/SPAN&gt; ( '2006-01-12' ) returns '2006-01-15' with an underlying numeric value corresponding to '2006-01-15 23:59:59.999'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;weekend&lt;/SPAN&gt; ( '2006-01-12', -1 ) returns '2006-01-08' with an underlying numeric value corresponding to '2006-01-08 23:59:59.999'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;weekend&lt;/SPAN&gt; ( '2006-01-12', 0, 1 ) returns '2006-01-16' with an underlying numeric value corresponding to '2006-01-16 23:59:59.999'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 12:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332225#M1178355</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-04-02T12:15:47Z</dc:date>
    </item>
    <item>
      <title>Week format as weekending date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332226#M1178356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try with WeekEnd function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; like WeekEnd(Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 12:17:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332226#M1178356</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-04-02T12:17:29Z</dc:date>
    </item>
    <item>
      <title>Week format as weekending date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332227#M1178357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;'Week' &amp;amp; Week(WeekEnd(&lt;SPAN style="font-size: 9pt; color: purple; font-family: 'Courier New';"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;[Date received]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;)&lt;/SPAN&gt;)) as WeekNo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 12:33:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332227#M1178357</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2012-04-02T12:33:04Z</dc:date>
    </item>
    <item>
      <title>Week format as weekending date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332228#M1178358</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;Try using WeekEnd() to get weekend date of the given date&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; color: purple; font-family: 'Courier New';"&gt;WeekEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;[Date received]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt;) &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;as&lt;/STRONG&gt; &lt;SPAN style="font-size: 9pt; color: green; font-family: 'Courier New';"&gt;Week&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; color: black; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 12:35:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332228#M1178358</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-04-02T12:35:14Z</dc:date>
    </item>
    <item>
      <title>Week format as weekending date</title>
      <link>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332229#M1178359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Guys thank you all for the responses , i simply used weekend(Date) as weekending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Worked a treat, but glad to learn all of the above date functions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 12:36:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Week-format-as-weekending-date/m-p/332229#M1178359</guid>
      <dc:creator />
      <dc:date>2012-04-02T12:36:07Z</dc:date>
    </item>
  </channel>
</rss>

