<?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 CONVERTING TIMESTAMP TO SHOW WORKSHIFT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/CONVERTING-TIMESTAMP-TO-SHOW-WORKSHIFT/m-p/370487#M137752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I have a field called EDITDATE that is in a timestamp format. I used the following code to give me a field that shows day or nightshift within my table but it does not work. I have changed my format to show hh:mm only but still it recognises the field as the wrong format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I view the table it shows 'NIGHT SHIFT' which it should return when the return expression is false. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE HELP??????&lt;IMG __jive_id="17056" class="jive-image-thumbnail jive-image" height="185" onclick="" alt="1.jpg" src="https://community.qlik.com/legacyfs/online/17056_1.jpg" width="604" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2012 12:40:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-27T12:40:33Z</dc:date>
    <item>
      <title>CONVERTING TIMESTAMP TO SHOW WORKSHIFT</title>
      <link>https://community.qlik.com/t5/QlikView/CONVERTING-TIMESTAMP-TO-SHOW-WORKSHIFT/m-p/370487#M137752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I have a field called EDITDATE that is in a timestamp format. I used the following code to give me a field that shows day or nightshift within my table but it does not work. I have changed my format to show hh:mm only but still it recognises the field as the wrong format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I view the table it shows 'NIGHT SHIFT' which it should return when the return expression is false. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE HELP??????&lt;IMG __jive_id="17056" class="jive-image-thumbnail jive-image" height="185" onclick="" alt="1.jpg" src="https://community.qlik.com/legacyfs/online/17056_1.jpg" width="604" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 12:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONVERTING-TIMESTAMP-TO-SHOW-WORKSHIFT/m-p/370487#M137752</guid>
      <dc:creator />
      <dc:date>2012-06-27T12:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: CONVERTING TIMESTAMP TO SHOW WORKSHIFT</title>
      <link>https://community.qlik.com/t5/QlikView/CONVERTING-TIMESTAMP-TO-SHOW-WORKSHIFT/m-p/370488#M137753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if( frac(EDITDATE)&amp;gt;= maketime(6) and &lt;/EM&gt;&lt;EM&gt;frac(EDITDATE) &amp;lt;= maketime(18)&lt;/EM&gt;&lt;EM&gt;, 'DAY SHIFT', 'NIGHT SHIFT') as SHIFT&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 13:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONVERTING-TIMESTAMP-TO-SHOW-WORKSHIFT/m-p/370488#M137753</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-27T13:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: CONVERTING TIMESTAMP TO SHOW WORKSHIFT</title>
      <link>https://community.qlik.com/t5/QlikView/CONVERTING-TIMESTAMP-TO-SHOW-WORKSHIFT/m-p/370489#M137754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have inserted your script and it works fine.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx a million buddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hein.SNJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 13:18:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONVERTING-TIMESTAMP-TO-SHOW-WORKSHIFT/m-p/370489#M137754</guid>
      <dc:creator />
      <dc:date>2012-06-27T13:18:43Z</dc:date>
    </item>
  </channel>
</rss>

