<?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 How to parse 20180619075546.0Z using TimeStamp# function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-parse-20180619075546-0Z-using-TimeStamp-function/m-p/1585861#M443217</link>
    <description>&lt;P&gt;So I have a string (returned by an Active Directory utility) that looks like this:&amp;nbsp;20180619075546.0Z&lt;/P&gt;&lt;P&gt;I have tried all manner of format strings with the TimeStamp# function but it simply doesn't work.&amp;nbsp; None of these work, for instance:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Timestamp#&lt;/SPAN&gt; ( &lt;SPAN class="s2"&gt;modifyTimeStamp&lt;/SPAN&gt;, 'YYYYMMDDhhmmss.0Z' ) returns&amp;nbsp;20180619075546.0Z&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Timestamp#&lt;/SPAN&gt; ( &lt;SPAN class="s2"&gt;modifyTimeStamp&lt;/SPAN&gt;, 'YYYYMMDDhhmmss' ) returns&amp;nbsp;20180619075546.0Z&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Timestamp#&lt;/SPAN&gt; ( &lt;SPAN class="s1"&gt;Left&lt;/SPAN&gt; ( &lt;SPAN class="s2"&gt;modifyTimeStamp&lt;/SPAN&gt;, 14&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;), 'YYYYMMDDhhmmss' ) returns&amp;nbsp;20180619075546&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Date#&lt;/SPAN&gt; ( &lt;SPAN class="s1"&gt;Left&lt;/SPAN&gt; ( &lt;SPAN class="s2"&gt;modifyTimeStamp&lt;/SPAN&gt;, 8&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;), 'YYYYMMDD' ) returns&amp;nbsp;20180619&lt;/P&gt;&lt;P class="p1"&gt;What I am doing wrong?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:26:30 GMT</pubDate>
    <dc:creator>kevinpintokpa</dc:creator>
    <dc:date>2024-11-16T03:26:30Z</dc:date>
    <item>
      <title>How to parse 20180619075546.0Z using TimeStamp# function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-parse-20180619075546-0Z-using-TimeStamp-function/m-p/1585861#M443217</link>
      <description>&lt;P&gt;So I have a string (returned by an Active Directory utility) that looks like this:&amp;nbsp;20180619075546.0Z&lt;/P&gt;&lt;P&gt;I have tried all manner of format strings with the TimeStamp# function but it simply doesn't work.&amp;nbsp; None of these work, for instance:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Timestamp#&lt;/SPAN&gt; ( &lt;SPAN class="s2"&gt;modifyTimeStamp&lt;/SPAN&gt;, 'YYYYMMDDhhmmss.0Z' ) returns&amp;nbsp;20180619075546.0Z&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Timestamp#&lt;/SPAN&gt; ( &lt;SPAN class="s2"&gt;modifyTimeStamp&lt;/SPAN&gt;, 'YYYYMMDDhhmmss' ) returns&amp;nbsp;20180619075546.0Z&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Timestamp#&lt;/SPAN&gt; ( &lt;SPAN class="s1"&gt;Left&lt;/SPAN&gt; ( &lt;SPAN class="s2"&gt;modifyTimeStamp&lt;/SPAN&gt;, 14&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;), 'YYYYMMDDhhmmss' ) returns&amp;nbsp;20180619075546&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Date#&lt;/SPAN&gt; ( &lt;SPAN class="s1"&gt;Left&lt;/SPAN&gt; ( &lt;SPAN class="s2"&gt;modifyTimeStamp&lt;/SPAN&gt;, 8&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;), 'YYYYMMDD' ) returns&amp;nbsp;20180619&lt;/P&gt;&lt;P class="p1"&gt;What I am doing wrong?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-parse-20180619075546-0Z-using-TimeStamp-function/m-p/1585861#M443217</guid>
      <dc:creator>kevinpintokpa</dc:creator>
      <dc:date>2024-11-16T03:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse 20180619075546.0Z using TimeStamp# function</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-parse-20180619075546-0Z-using-TimeStamp-function/m-p/1585863#M443218</link>
      <description>&lt;P&gt;I found that I had to:&lt;/P&gt;&lt;P&gt;a) Trim off any extraneous characters&lt;/P&gt;&lt;P&gt;b) Wrap the expression in another Timestamp function.&lt;/P&gt;&lt;P&gt;So this finally works:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Timestamp ( Timestamp# ( Left ( modifyTimeStamp, 14  ), 'YYYYMMDDhhmmss' ) )&lt;/LI-CODE&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;and it properly returns&amp;nbsp;6/19/2018 7:55:46 AM as desired.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 00:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-parse-20180619075546-0Z-using-TimeStamp-function/m-p/1585863#M443218</guid>
      <dc:creator>kevinpintokpa</dc:creator>
      <dc:date>2019-05-29T00:57:19Z</dc:date>
    </item>
  </channel>
</rss>

