<?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 SET a Time to a Timestamp in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SET-a-Time-to-a-Timestamp/m-p/374252#M1176342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a maketime() function so you could do something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timestamp(floor(entry_date) + maketime(8))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The floor function is used to get rid of the time part of entry_date and then you add 8 hours to the entry_date.&amp;nbsp; The timestamp() format function is needed to change the number to a timestamp format again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2012 17:58:01 GMT</pubDate>
    <dc:creator>pover</dc:creator>
    <dc:date>2012-03-28T17:58:01Z</dc:date>
    <item>
      <title>SET a Time to a Timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/SET-a-Time-to-a-Timestamp/m-p/374251#M1176341</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;Do you know how to set a time, in the timestamp.&lt;/P&gt;&lt;P&gt;Ex: If a process entry date is: 26/03/2012 01h56.&lt;/P&gt;&lt;P&gt;A working day starts at 8h00, so I want to store the value 26/03/2012 08h00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(hour(entry_date) &amp;lt; 8, &lt;SPAN style="color: #ff0000;"&gt;??Set(entry_date, 8h00)??&lt;/SPAN&gt;, entry_date) as entry_working_date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know a simple way to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gonçalo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 16:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-a-Time-to-a-Timestamp/m-p/374251#M1176341</guid>
      <dc:creator />
      <dc:date>2012-03-28T16:11:29Z</dc:date>
    </item>
    <item>
      <title>SET a Time to a Timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/SET-a-Time-to-a-Timestamp/m-p/374252#M1176342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a maketime() function so you could do something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timestamp(floor(entry_date) + maketime(8))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The floor function is used to get rid of the time part of entry_date and then you add 8 hours to the entry_date.&amp;nbsp; The timestamp() format function is needed to change the number to a timestamp format again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 17:58:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-a-Time-to-a-Timestamp/m-p/374252#M1176342</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2012-03-28T17:58:01Z</dc:date>
    </item>
    <item>
      <title>SET a Time to a Timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/SET-a-Time-to-a-Timestamp/m-p/374253#M1176343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tks Karl!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 18:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-a-Time-to-a-Timestamp/m-p/374253#M1176343</guid>
      <dc:creator />
      <dc:date>2012-03-28T18:09:44Z</dc:date>
    </item>
  </channel>
</rss>

