<?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: Weekday value inconsistent between desktop and QV Server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weekday-value-inconsistent-between-desktop-and-QV-Server/m-p/1173974#M628991</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the value set to FirstWeekDay in the script editor.&lt;/P&gt;&lt;P&gt;If it is set to 6, NUM(WeekDay('8/1/2016'))&amp;nbsp; will return 1.&lt;/P&gt;&lt;P&gt;If set to 0, you will get 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2016 00:19:39 GMT</pubDate>
    <dc:creator>nagaiank</dc:creator>
    <dc:date>2016-08-26T00:19:39Z</dc:date>
    <item>
      <title>Weekday value inconsistent between desktop and QV Server</title>
      <link>https://community.qlik.com/t5/QlikView/Weekday-value-inconsistent-between-desktop-and-QV-Server/m-p/1173973#M628990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running into an annoyance with the Weekday() function that I'm hoping someone can help solve.&amp;nbsp; When I execute WeekDay('8/1/2016') on my PC, the resulting numeric value is 1.&amp;nbsp; However, when I run the same command on the QV server, the numeric result is 0.&amp;nbsp; The text value is "Mon" for both PC and Server.&amp;nbsp; But for some reason, the numeric values differ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the script I'm executing on PC and QlikView server:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tblWeekDay:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; '8/1/2016'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS Date_&lt;/P&gt;&lt;P&gt;&amp;nbsp; , NUM(WeekDay('8/1/2016'))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS WeekDayNum_&lt;/P&gt;&lt;P&gt;&amp;nbsp; , WeekDay('8/1/2016')&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AS WeekDay_&lt;/P&gt;&lt;P&gt;&amp;nbsp; AUTOGENERATE 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a setting that I'm overlooking that controls the default numeric value returned by WeekDay()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2016 20:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekday-value-inconsistent-between-desktop-and-QV-Server/m-p/1173973#M628990</guid>
      <dc:creator>dan_swanda_imc</dc:creator>
      <dc:date>2016-08-25T20:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Weekday value inconsistent between desktop and QV Server</title>
      <link>https://community.qlik.com/t5/QlikView/Weekday-value-inconsistent-between-desktop-and-QV-Server/m-p/1173974#M628991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the value set to FirstWeekDay in the script editor.&lt;/P&gt;&lt;P&gt;If it is set to 6, NUM(WeekDay('8/1/2016'))&amp;nbsp; will return 1.&lt;/P&gt;&lt;P&gt;If set to 0, you will get 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 00:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekday-value-inconsistent-between-desktop-and-QV-Server/m-p/1173974#M628991</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2016-08-26T00:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Weekday value inconsistent between desktop and QV Server</title>
      <link>https://community.qlik.com/t5/QlikView/Weekday-value-inconsistent-between-desktop-and-QV-Server/m-p/1173975#M628993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting - the script didn't contain the FirstWeekDay value in either case.&amp;nbsp; That being said, I included and set the value accordingly and the results are the same on both machines.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help Nagaian - much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 13:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekday-value-inconsistent-between-desktop-and-QV-Server/m-p/1173975#M628993</guid>
      <dc:creator>dan_swanda_imc</dc:creator>
      <dc:date>2016-08-26T13:00:36Z</dc:date>
    </item>
  </channel>
</rss>

