<?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 Convert Timestamp to Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/975490#M333476</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 need to convert the timestamp '&lt;STRONG&gt;Apr&amp;nbsp; 21 2015&amp;nbsp; 3:45:33:000PM&lt;/STRONG&gt;' to&amp;nbsp; the date format '&lt;STRONG&gt;4/21/2015' .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Kindly help me to achieve the same.&lt;/P&gt;&lt;P&gt;Thanks in adavnce for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krishnan G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Dec 2015 08:08:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-09T08:08:17Z</dc:date>
    <item>
      <title>Convert Timestamp to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/975490#M333476</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 need to convert the timestamp '&lt;STRONG&gt;Apr&amp;nbsp; 21 2015&amp;nbsp; 3:45:33:000PM&lt;/STRONG&gt;' to&amp;nbsp; the date format '&lt;STRONG&gt;4/21/2015' .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Kindly help me to achieve the same.&lt;/P&gt;&lt;P&gt;Thanks in adavnce for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krishnan G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 08:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/975490#M333476</guid>
      <dc:creator />
      <dc:date>2015-12-09T08:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Timestamp to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/975491#M333477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: Date(Date#(Left('&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Apr&amp;nbsp; 21 2015&amp;nbsp; 3:45:33:000PM&lt;/STRONG&gt;',12),'MMM&amp;nbsp; DD YYYY'),'M/D/YYYY')&lt;/P&gt;&lt;P&gt;Note, there are two spaces between the month Apr and the day 21. These two spaces need to be in the date format string of the Date# function too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Dec 2015 14:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/975491#M333477</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-12-12T14:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Timestamp to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/975492#M333478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date(floor(Date#('Apr&amp;nbsp; 21 2015&amp;nbsp; 3:45:33:000PM', 'MMM&amp;nbsp; DD YYYY&amp;nbsp; h:mm:ss:ffftt')), 'M/D/YYYY')&lt;/P&gt;&lt;P&gt;floor to remove the time part&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Dec 2015 14:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/975492#M333478</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-12-12T14:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Timestamp to Date</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/975493#M333479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even this might be helpful if there are inconsistent spaces in your timestamp field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date(Date#(Left(PurgeChar('Apr&amp;nbsp; 21 2015&amp;nbsp; 3:45:33:000PM', ' '), 9), 'MMMDDYYYY'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you can replace the manual entry with your date timestamp field in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(Date#(Left(PurgeChar(TimeStampField, ' '), 9), 'MMMDDYYYY')) as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Dec 2015 14:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Timestamp-to-Date/m-p/975493#M333479</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-12T14:53:36Z</dc:date>
    </item>
  </channel>
</rss>

