<?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/466373#M174296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Team members,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the date field&amp;nbsp; in the '10/20/2013 23:34:00', now I want to convert the above date field into only date format without any time like '10/20/2013'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Apr 2013 16:28:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-04-09T16:28:48Z</dc:date>
    <item>
      <title>Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466367#M174290</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'm trying to format a date time, into the format, DD/MM/YYYY, but it keeps returning no values.&lt;/P&gt;&lt;P&gt;I'm using the expressions : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CALL_DATETIME&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'DD/MM/YYYY hh:mm:ss.[fff] TT'),'DD/MM/YYYY hh:mm:ss') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Call Date Time]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CALL_DATETIME&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'DD/MM/YYYY'),'DD/MM/YYYY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Call Date]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I've attached the sample .qvw.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;Many thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 06:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466367#M174290</guid>
      <dc:creator />
      <dc:date>2013-02-25T06:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466368#M174291</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;I am getting result by using date function. PFA. and check text object. Hope it helps u. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 06:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466368#M174291</guid>
      <dc:creator>khadeer</dc:creator>
      <dc:date>2013-02-25T06:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466369#M174292</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;Since your CALL_DATETIME is having value in number, then use date instead of date#. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 06:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466369#M174292</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-02-25T06:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466370#M174293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;date(date#(&lt;SPAN style="color: #800000; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;CALL_DATETIME&lt;/SPAN&gt;,'&lt;SPAN style="color: #737373; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;DD/MM/YYYY hh:mm:ss.[fff] TT'),'DD/MM/YYYY')AS CALL_DATE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;HOPE IT HELPS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;hi try distinct word after load script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;like &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;load distinct&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;field1,field2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;date(date#(&lt;SPAN style="color: #800000; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;CALL_DATETIME&lt;/SPAN&gt;,'&lt;SPAN style="color: #737373; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;DD/MM/YYYY hh:mm:ss.[fff] TT'),'DD/MM/YYYY')AS CALL_DATE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;from table ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;hope it helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; font-size: 11px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 06:47:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466370#M174293</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-02-25T06:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466371#M174294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help. - it does work, but returns non-distinct values. &lt;/P&gt;&lt;P&gt;ie. many 24/02/2013, not just a list of 1 distinct date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;OBJECT classid="CLSID:A806E1D7-B077-415E-AF08-28AFE10DDF4A" height="304" id="QlikOCX" width="160"&gt; &lt;PARAM name="DocName" value="C:\Users\Xena\Desktop\QV\MFB\New\False Alarm Analysis.qvw" /&gt;&lt;PARAM name="ObjectID" value="Document\LB274" /&gt;&lt;/OBJECT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 10:33:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466371#M174294</guid>
      <dc:creator />
      <dc:date>2013-02-25T10:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466372#M174295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date# function generally evaluates your expression so you need specify the correct date format which you need to convert.Here the CALL_DATETIME is in integer format not the format you specified in expression.Convert you field to timestamp format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this trim(date(date(CALL_DATETIME,'DD/MM/YYYY hh:mm:ss[.fff] TT'),'DD/MM/YYYY hh:mm:ss') )&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Call Date Time]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;trim(date(date(CALL_DATETIME,'DD/MM/YYYY hh:mm:ss[.fff] TT'),'DD/MM/YYYY ') )&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Call Date]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 11:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466372#M174295</guid>
      <dc:creator>sivarajs</dc:creator>
      <dc:date>2013-02-25T11:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466373#M174296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Team members,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the date field&amp;nbsp; in the '10/20/2013 23:34:00', now I want to convert the above date field into only date format without any time like '10/20/2013'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 16:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466373#M174296</guid>
      <dc:creator />
      <dc:date>2013-04-09T16:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466374#M174297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rameshmca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try : &lt;/P&gt;&lt;P&gt;trim(date(date(DATETIME,'DD/MM/YYYY hh:mm:ss[.fff] TT'),'DD/MM/YYYY ') )AS [Date],&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 04:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Time-format/m-p/466374#M174297</guid>
      <dc:creator />
      <dc:date>2013-04-10T04:49:37Z</dc:date>
    </item>
  </channel>
</rss>

