<?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 Compare timestamp time with string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-timestamp-time-with-string/m-p/216326#M69662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Maarten&lt;/P&gt;&lt;P&gt;The time function will only format your number. The actual number behind it is basically the same.&lt;/P&gt;&lt;P&gt;The if syntax will use the full number behind it, despite number format.&lt;/P&gt;&lt;P&gt;In your case, I would tranform the [Order Lowest Object Date/Time] to a number to compare it with 1400.&lt;/P&gt;&lt;P&gt;It would be something like this?&lt;/P&gt;&lt;P&gt;if( hour([Order Lowest Object Date/Time])*100+minute([Order Lowest Object Date/Time])&amp;lt;1400, 'Smaller','Bigger')&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2011 15:25:24 GMT</pubDate>
    <dc:creator>erichshiino</dc:creator>
    <dc:date>2011-04-14T15:25:24Z</dc:date>
    <item>
      <title>Compare timestamp time with string</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-timestamp-time-with-string/m-p/216324#M69660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to do something like this:&lt;/P&gt;&lt;P&gt;=if(Time([Order Lowest Object Date/Time],'hhmm')&amp;lt;1400,'Smaller','Bigger')&lt;/P&gt;&lt;P&gt;Whatever the [Order Lowest Object Date/Time] is, it does not get the result I want.&lt;/P&gt;&lt;P&gt;i.e. (01/12/2009) &lt;B&gt;1300&lt;/B&gt; &amp;lt; &lt;B&gt;1400&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;It always says 'Bigger' (unless I replace 1400 by 0)&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Maarten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 15:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-timestamp-time-with-string/m-p/216324#M69660</guid>
      <dc:creator />
      <dc:date>2011-04-14T15:10:22Z</dc:date>
    </item>
    <item>
      <title>SV:Compare timestamp time with string</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-timestamp-time-with-string/m-p/216325#M69661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;=if(hour([Order Lowest Object Date/Time])&amp;lt;14,'Smaller','Bigger')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 15:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-timestamp-time-with-string/m-p/216325#M69661</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2011-04-14T15:25:08Z</dc:date>
    </item>
    <item>
      <title>Compare timestamp time with string</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-timestamp-time-with-string/m-p/216326#M69662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Maarten&lt;/P&gt;&lt;P&gt;The time function will only format your number. The actual number behind it is basically the same.&lt;/P&gt;&lt;P&gt;The if syntax will use the full number behind it, despite number format.&lt;/P&gt;&lt;P&gt;In your case, I would tranform the [Order Lowest Object Date/Time] to a number to compare it with 1400.&lt;/P&gt;&lt;P&gt;It would be something like this?&lt;/P&gt;&lt;P&gt;if( hour([Order Lowest Object Date/Time])*100+minute([Order Lowest Object Date/Time])&amp;lt;1400, 'Smaller','Bigger')&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 15:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-timestamp-time-with-string/m-p/216326#M69662</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-04-14T15:25:24Z</dc:date>
    </item>
    <item>
      <title>Compare timestamp time with string</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-timestamp-time-with-string/m-p/216327#M69663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys!&lt;/P&gt;&lt;P&gt;Exellent soltions! Work perfectly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 15:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-timestamp-time-with-string/m-p/216327#M69663</guid>
      <dc:creator />
      <dc:date>2011-04-14T15:41:29Z</dc:date>
    </item>
  </channel>
</rss>

