<?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: Date/Time format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327250#M120458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That’s exactly what I am trying to do, The problem only came up when changing the date formats, because when I am using the YYYY/MM/DD date format it doesn’t give me a problem. Please see the attached dummy model I am using!&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;Edzisani Tshivhase&lt;/P&gt;&lt;P&gt;Systems Analyst | Software Developer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="cid:image002.jpg@01CCF6DE.F370CB90"&gt;&lt;/A&gt;&amp;lt;http://www.fourier.co.za/&amp;gt;Fourier Approach (Pty) Ltd&lt;/P&gt;&lt;P&gt;Tel:    +27 (0) 12 667 3232&lt;/P&gt;&lt;P&gt;Fax:    +27 (0) 12 667 3244&lt;/P&gt;&lt;P&gt;Cell:   +27 (0) 73 762 9982&lt;/P&gt;&lt;P&gt;Email: tshivhasee@fourier.co.za&lt;/P&gt;&lt;P&gt;Website: http://www.fourier.co.za&amp;lt;http://www.fourier.co.za/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Feb 2012 10:40:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-29T10:40:39Z</dc:date>
    <item>
      <title>Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327244#M120452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am trying to use a button to make my selection, I only want my button to return data for only the things that has happen today using this date format: 2012/02/29 10:06:00 AM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the expresion I was trying to use but its not working&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 8pt;"&gt;if(ReportType = 'Daily', Test_Date = Timestamp#(Today('2012/02/29 10:06:00 AM', 'YYYY/MM/DD hh:mm:ss'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 08:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327244#M120452</guid>
      <dc:creator />
      <dc:date>2012-02-29T08:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327245#M120453</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;You need to add the AM/PM to the format:&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"&gt;&lt;P&gt;if(ReportType = 'Daily', Test_Date = Date(Today(), 'YYYY/MM/DD hh:mm:ss TT'))&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 08:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327245#M120453</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-02-29T08:19:38Z</dc:date>
    </item>
    <item>
      <title>Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327246#M120454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the same expresion as u suggested, but now it doesnt return the results according to the Daily filter I specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edzi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 08:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327246#M120454</guid>
      <dc:creator />
      <dc:date>2012-02-29T08:40:52Z</dc:date>
    </item>
    <item>
      <title>Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327247#M120455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Edzi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the Date() function above return as you expected, and that the format is the same that the field Test_Date has? Apart from that, where are you using that expression? Is that an action? I should have asked before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 09:18:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327247#M120455</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-02-29T09:18:38Z</dc:date>
    </item>
    <item>
      <title>Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327248#M120456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes the Date function retuns the corect values on theTest_Date field, but now the problem is that it doesnt return anything if I use the filter "Daily". and I am using the Exprestion on the expresion tab of the table chart that Im using to disply the results, I added the action "Set Variable" on the button that passes through the variable Report type to Table chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Edzi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 10:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327248#M120456</guid>
      <dc:creator />
      <dc:date>2012-02-29T10:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327249#M120457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Edzi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm afraid I'm missing something. You original question was about a button to make a selection in a field. Did you try to create a button, and in its properties set a new Action, Selection, Select in Field, Test_Date and &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"&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;=Date(Today(), 'YYYY/MM/DD hh:mm:ss TT')&lt;/CODE&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as the Search String?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not what you are after, would you mind to upload some dummy example so we can check further?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 10:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327249#M120457</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-02-29T10:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327250#M120458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That’s exactly what I am trying to do, The problem only came up when changing the date formats, because when I am using the YYYY/MM/DD date format it doesn’t give me a problem. Please see the attached dummy model I am using!&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;Edzisani Tshivhase&lt;/P&gt;&lt;P&gt;Systems Analyst | Software Developer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="cid:image002.jpg@01CCF6DE.F370CB90"&gt;&lt;/A&gt;&amp;lt;http://www.fourier.co.za/&amp;gt;Fourier Approach (Pty) Ltd&lt;/P&gt;&lt;P&gt;Tel:    +27 (0) 12 667 3232&lt;/P&gt;&lt;P&gt;Fax:    +27 (0) 12 667 3244&lt;/P&gt;&lt;P&gt;Cell:   +27 (0) 73 762 9982&lt;/P&gt;&lt;P&gt;Email: tshivhasee@fourier.co.za&lt;/P&gt;&lt;P&gt;Website: http://www.fourier.co.za&amp;lt;http://www.fourier.co.za/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 10:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327250#M120458</guid>
      <dc:creator />
      <dc:date>2012-02-29T10:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327251#M120459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Edzi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the function above returns a complete timestamp, and you may not have records with that timestamp. So I'd create a button with an action Select in Field Test_Date1, and the following as Search String:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿﻿=Date(Today(), 'YYYY/MM/DD') &amp;amp; '*'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 12:03:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/327251#M120459</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-02-29T12:03:03Z</dc:date>
    </item>
  </channel>
</rss>

