<?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: Simple Value I can not seem to define in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-Value-I-can-not-seem-to-define/m-p/340771#M125853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try timestamp(floor(DATE) + HOUR/24+MINUTE/1440)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2012 11:07:53 GMT</pubDate>
    <dc:creator>kji</dc:creator>
    <dc:date>2012-07-09T11:07:53Z</dc:date>
    <item>
      <title>Simple Value I can not seem to define</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Value-I-can-not-seem-to-define/m-p/340770#M125852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly thanks for any assistance you can provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a simple problem (I think it should be) and get resolve it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a timestamp field that combines the DATE eg. (20/05/2011 00:00:00) with the HOUR (currently a number to represent) and the MINUTE (same format as HOUR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run into a couple of issues.&lt;/P&gt;&lt;P&gt;Firstly I have tried to combine HOUR and MINUTE into TIME - using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13418316211289571" jivemacro_uid="_13418316211289571"&gt;&lt;P&gt;time#(num(HOUR&amp;amp;MINUTE), 'hhmm') as TIME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Len(TIME)=4 ,Time(Time#(TIME,'hhmm'),'hh:mm') ,&amp;nbsp; if(Len(TIME)=3 ,Time(Time#('0'&amp;amp;TIME,'hhmm'),'hh:mm') , if(Len(TIME)=2 ,Time(Time#('00'&amp;amp;TIME,'hhmm'),'hh:mm') , if(Len(TIME)=1 ,Time(Time#('000'&amp;amp;TIME,'hhmm'),'hh:mm') , 0 ) ) ) )&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to format the TIME correctly, but this is causing problems with MINUTES starting with a 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the Floor(DATE) function to realise the date component of the timestamp, but I am at a lose and can not seem to find help on effectively concatonating values together to form a timestamp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 11:01:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Value-I-can-not-seem-to-define/m-p/340770#M125852</guid>
      <dc:creator />
      <dc:date>2012-07-09T11:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Value I can not seem to define</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Value-I-can-not-seem-to-define/m-p/340771#M125853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try timestamp(floor(DATE) + HOUR/24+MINUTE/1440)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 11:07:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Value-I-can-not-seem-to-define/m-p/340771#M125853</guid>
      <dc:creator>kji</dc:creator>
      <dc:date>2012-07-09T11:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Value I can not seem to define</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-Value-I-can-not-seem-to-define/m-p/340772#M125854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If DATE is already interpreted as date / timestamp with a numerical representation (you can check this in table view by hovering over the field name), I think it could look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DATE,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HOUR,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MINUTE,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Timestamp(DATE + maketime(HOUR, MINUTE)) as TIMESTAMP&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM ....;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 11:08:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-Value-I-can-not-seem-to-define/m-p/340772#M125854</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-09T11:08:30Z</dc:date>
    </item>
  </channel>
</rss>

