<?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: Greater than timestamp in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Greater-than-timestamp/m-p/75501#M604530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(Num(Frac(Timestamp#(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;CREATION_DATE,'&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;D/MM/YYYY hh:mm'))&amp;lt;=Num(MakeTime(14,30,00)),'Y','N')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Apr 2018 16:28:19 GMT</pubDate>
    <dc:creator>sasiparupudi1</dc:creator>
    <dc:date>2018-04-21T16:28:19Z</dc:date>
    <item>
      <title>Greater than timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-than-timestamp/m-p/75500#M604529</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;I have a CREATION_DATE field which is a timestamp. E.G. 01/01/2018 18:00:00 in the format DD/MM/YYYY hh:mm:ss&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do a simple If statement whereby the time part of the timestamp is less than 14:30:00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is below, however everything gets the 'N' value no matter what the value is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(time(CREATION_DATE)&amp;lt;='14:30:00','Y','N')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It cant be that difficult, is it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2018 16:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-than-timestamp/m-p/75500#M604529</guid>
      <dc:creator>c_latham</dc:creator>
      <dc:date>2018-04-21T16:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-than-timestamp/m-p/75501#M604530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(Num(Frac(Timestamp#(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;CREATION_DATE,'&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;D/MM/YYYY hh:mm'))&amp;lt;=Num(MakeTime(14,30,00)),'Y','N')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2018 16:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-than-timestamp/m-p/75501#M604530</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-04-21T16:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-than-timestamp/m-p/75502#M604531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you were comparing num to string..&lt;/P&gt;&lt;P&gt;may be change&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;IF(time(CREATION_DATE)&amp;lt;=M&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;akeTime(14,30,00)&lt;/SPAN&gt;,'Y','N')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2018 16:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-than-timestamp/m-p/75502#M604531</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-04-21T16:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Greater than timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-than-timestamp/m-p/75503#M604532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The actual answer i needed was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Num(Frac(CREATION_DATE))&amp;lt;=Num(MakeTime(14,30,00)),'Y','N')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'll give it to you because you set me on the right track! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2018 16:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-than-timestamp/m-p/75503#M604532</guid>
      <dc:creator>c_latham</dc:creator>
      <dc:date>2018-04-21T16:34:29Z</dc:date>
    </item>
  </channel>
</rss>

