<?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: Convert Timestamp to Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/573070#M213475</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found this answer very helpful in solving my own problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a CSV file loaded and needed to convert it's many timestamp fields into a date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my slightly different code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Date(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Timestamp#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[FIELD NAME]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'DDMMMYYYY: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;[NEW FIELD NAME]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Paul&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2014 17:47:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-06T17:47:57Z</dc:date>
    <item>
      <title>Convert Timestamp to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/573066#M213471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Timestamp date For example (2012-03-29 11:35:24.6270000 +00:00), I need to get the Date from this i.e 2012-03-29.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the sample file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I want it using Date functions only.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; I tried below expressions, but dint work.&lt;/P&gt;&lt;P&gt;date(floor(CompleteWorkflowDate))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Angad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 07:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/573066#M213471</guid>
      <dc:creator />
      <dc:date>2014-02-12T07:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Timestamp to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/573067#M213472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about this one =Left(CompleteWorkflowDate,10)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 07:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/573067#M213472</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2014-02-12T07:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Timestamp to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/573068#M213473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or try with this long function&lt;/P&gt;&lt;P&gt;=Date(Floor(Date#(CompleteWorkflowDate,'YYYY-MM-DD hh:mm:ss.fffffff +ff:ff')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 08:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/573068#M213473</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2014-02-12T08:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Timestamp to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/573069#M213474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BINGO!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot Sokkorn. I was not aware about those extra fffff's . &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Angad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 08:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/573069#M213474</guid>
      <dc:creator />
      <dc:date>2014-02-12T08:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Timestamp to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/573070#M213475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found this answer very helpful in solving my own problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a CSV file loaded and needed to convert it's many timestamp fields into a date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my slightly different code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Date(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;floor&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Timestamp#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[FIELD NAME]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'DDMMMYYYY: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;[NEW FIELD NAME]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Paul&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 17:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/573070#M213475</guid>
      <dc:creator />
      <dc:date>2014-03-06T17:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Timestamp to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/573071#M213476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing Paul. I am happy that it was helpful to you as well &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Angad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 06:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/573071#M213476</guid>
      <dc:creator />
      <dc:date>2014-03-07T06:18:29Z</dc:date>
    </item>
  </channel>
</rss>

