<?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 Master calendar in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301174#M111500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, and if I have some historic tables, the function weekday would take the exact day of the year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2012 15:19:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-02-21T15:19:03Z</dc:date>
    <item>
      <title>Master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301172#M111498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some data with the date/time column, but the format is 12/02/2012 1:15AM... If I want to determine which day of the week is, is it possible with a master calendar or something like that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 21:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301172#M111498</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-20T21:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301173#M111499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just take care that the format is correctly read in in your load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET TimestampFormat='DD/MM/YYYY h:mmTT';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;DateTimeColumn,&lt;/P&gt;&lt;P&gt;daystart(DateTimeColumn) as Date,&lt;/P&gt;&lt;P&gt;Time#(Time(DateTimeColumn) as Time,&lt;/P&gt;&lt;P&gt;weekday(DateTimeColumn) as Weekday,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;weekday() will get you the day of the week for each timestamp. Check out also the other date / time functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: removed line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 21:46:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301173#M111499</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-20T21:46:36Z</dc:date>
    </item>
    <item>
      <title>Master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301174#M111500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, and if I have some historic tables, the function weekday would take the exact day of the year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 15:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301174#M111500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-21T15:19:03Z</dc:date>
    </item>
    <item>
      <title>Master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301175#M111501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean with the exact day of the year? Maybe according&lt;/P&gt;&lt;P class="syntax"&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class="Bold"&gt;DayNumberOfYear(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;date[,firstmonth]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Returns the day number of the year according to a timestamp with the first millisecond of the first day of the year containing &lt;SPAN class="Italic"&gt;date&lt;/SPAN&gt;. The function always uses years based on 366 days. &lt;/P&gt;&lt;P&gt;By specifying a &lt;SPAN class="Italic"&gt;firstmonth&lt;/SPAN&gt; between 1 and 12 (1 if omitted), the beginning of the year may be moved forward to the first day of any month. If you e.g. want to work with a fiscal year starting March 1, specify &lt;SPAN class="Italic"&gt;firstmonth&lt;/SPAN&gt; = 3. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;DayNumberOfYear(date)&lt;/SPAN&gt; returns the day number counted from the first of the year. &lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;DayNumberOfYear(date,3)&lt;/SPAN&gt; returns the number of the day as counted from the first of March. &lt;/P&gt;&lt;P class="syntax"&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;/P&gt;&lt;P class="syntax"&gt;function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 15:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301175#M111501</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-21T15:35:56Z</dc:date>
    </item>
    <item>
      <title>Master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301176#M111502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I want to format the weekday()... how can I do that... I'm getting "jan" and I want "january". The same issue with Month().&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, 21 Feb 2012 15:41:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301176#M111502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-21T15:41:55Z</dc:date>
    </item>
    <item>
      <title>Master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301177#M111503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I am missing an easier solution but you can use this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;DateField,&lt;/P&gt;&lt;P&gt;dual(date(DateField,'MMMM'),num(month(DateField))) as LongMonths,&lt;/P&gt;&lt;P&gt;dual(date(DateField,'WWWW'),num(weekday(DateField))) as LongWeekDays,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to substitute the weekday() resp. month() function. Using the format codes 'MMMM' resp. 'WWWW' will return the long names set in the standard format settings or retrieved from the OS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 16:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301177#M111503</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-21T16:34:08Z</dc:date>
    </item>
    <item>
      <title>Master calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301178#M111504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET MonthNames = 'january;february....';&lt;/P&gt;&lt;P&gt;SET DayNames = 'monday; tuesday.... ';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 18:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Master-calendar/m-p/301178#M111504</guid>
      <dc:creator />
      <dc:date>2012-02-21T18:23:11Z</dc:date>
    </item>
  </channel>
</rss>

