<?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>article Change to MakeWeekDate function in Qlik Cloud in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Change-to-MakeWeekDate-function-in-Qlik-Cloud/ta-p/2011410</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Several years back, we introduced the environment variables for calendars (&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT&gt;FirstWeekDay&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT&gt;BrokenWeek&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN&gt;, and &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT&gt;ReferenceDay&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN&gt;) and have since changed all functions with respect to these. However, &lt;FONT face="courier new,courier"&gt;MakeWeekDate&lt;/FONT&gt; was not updated accordingly, and we apologize for any inconvenience. Please review the documentation shared and linked below, and feel free to chat with us if you run into any further issues.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The function is now fixed and the &lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/makeweekdate.htm" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" data-safelink="true" data-linkindex="0"&gt;documentation&lt;/A&gt; states the correct functionality. If you are using the &lt;FONT face="courier new,courier"&gt;MakeWeekDate&lt;/FONT&gt; function please consider the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Before the fix, &lt;FONT face="courier new,courier"&gt;MakeWeekDate&lt;/FONT&gt; would always follow the ISO standard for dates. This corresponds&lt;BR aria-hidden="true" /&gt;to having the week localization settings in the load script like this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;SET FirstWeekDay=0;&lt;BR aria-hidden="true" /&gt;SET BrokenWeeks=0;&lt;BR aria-hidden="true" /&gt;SET ReferenceDay=4;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you have some other values for these variables in your load script, then the dates that are produced might have changed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You should consider which values are the correct ones for you and change them accordingly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Example 1:&lt;/STRONG&gt; Almost all Europeans and many other countries use the ISO standard settings listed above.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Example 2:&lt;/STRONG&gt; Other possible settings are for example American/Canadian week settings:&lt;BR aria-hidden="true" /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;SET FirstWeekDay=6;&lt;BR aria-hidden="true" /&gt;SET BrokenWeeks=1;&lt;BR aria-hidden="true" /&gt;SET ReferenceDay=0;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Notice that every time you create a new app, these variables will be set automatically in the newly created load script.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the automatic values do not correspond to the settings typically used in your country, you can change this behavior by updating your user profile settings and selecting your country/region in the list of regions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Now, every time you create a new app the values should be set to the appropriate ones for your country.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Cloud" id="qlikSenseEnterpriseSaaS"&gt;&lt;/LI-PRODUCT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;The change will be ported to client-managed installations in upcoming releases of QlikView and Qlik Sense Enterprise on Windows. We will update the article accordingly then.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Internal Investigation ID(s)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;QB-17197&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 12:46:41 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2022-12-01T12:46:41Z</dc:date>
    <item>
      <title>Change to MakeWeekDate function in Qlik Cloud</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Change-to-MakeWeekDate-function-in-Qlik-Cloud/ta-p/2011410</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Several years back, we introduced the environment variables for calendars (&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT&gt;FirstWeekDay&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT&gt;BrokenWeek&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN&gt;, and &lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT&gt;ReferenceDay&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN&gt;) and have since changed all functions with respect to these. However, &lt;FONT face="courier new,courier"&gt;MakeWeekDate&lt;/FONT&gt; was not updated accordingly, and we apologize for any inconvenience. Please review the documentation shared and linked below, and feel free to chat with us if you run into any further issues.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The function is now fixed and the &lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/makeweekdate.htm" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" data-safelink="true" data-linkindex="0"&gt;documentation&lt;/A&gt; states the correct functionality. If you are using the &lt;FONT face="courier new,courier"&gt;MakeWeekDate&lt;/FONT&gt; function please consider the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Before the fix, &lt;FONT face="courier new,courier"&gt;MakeWeekDate&lt;/FONT&gt; would always follow the ISO standard for dates. This corresponds&lt;BR aria-hidden="true" /&gt;to having the week localization settings in the load script like this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;SET FirstWeekDay=0;&lt;BR aria-hidden="true" /&gt;SET BrokenWeeks=0;&lt;BR aria-hidden="true" /&gt;SET ReferenceDay=4;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you have some other values for these variables in your load script, then the dates that are produced might have changed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You should consider which values are the correct ones for you and change them accordingly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Example 1:&lt;/STRONG&gt; Almost all Europeans and many other countries use the ISO standard settings listed above.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Example 2:&lt;/STRONG&gt; Other possible settings are for example American/Canadian week settings:&lt;BR aria-hidden="true" /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;SET FirstWeekDay=6;&lt;BR aria-hidden="true" /&gt;SET BrokenWeeks=1;&lt;BR aria-hidden="true" /&gt;SET ReferenceDay=0;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Notice that every time you create a new app, these variables will be set automatically in the newly created load script.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the automatic values do not correspond to the settings typically used in your country, you can change this behavior by updating your user profile settings and selecting your country/region in the list of regions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Now, every time you create a new app the values should be set to the appropriate ones for your country.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik Cloud" id="qlikSenseEnterpriseSaaS"&gt;&lt;/LI-PRODUCT&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;The change will be ported to client-managed installations in upcoming releases of QlikView and Qlik Sense Enterprise on Windows. We will update the article accordingly then.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Internal Investigation ID(s)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;QB-17197&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 12:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Change-to-MakeWeekDate-function-in-Qlik-Cloud/ta-p/2011410</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2022-12-01T12:46:41Z</dc:date>
    </item>
  </channel>
</rss>

