<?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 String to Timestamp in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-String-to-Timestamp/m-p/89571#M753258</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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date(Date#(Replace(Field,'T',' '),'YYYYMMDD hhmmss.fff'),'DD/MM/YYYY hh:mm')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date(Date#(Replace(SubField(Field, ' ',1),'T',' '),'YYYYMMDD hhmmss.fff'),'DD/MM/YYYY hh:mm')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2018 15:21:40 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2018-10-30T15:21:40Z</dc:date>
    <item>
      <title>Convert String to Timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-String-to-Timestamp/m-p/89570#M753257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a string datetime property of this format: 20181030T133100.000 GMT&lt;/P&gt;&lt;P&gt;and I would like to format it into 30/10/2018 13:31 (DD/MM/YYYY hh:mm).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked this forum: &lt;A href="https://community.qlik.com/thread/105693" target="_blank"&gt;How to convert timestamp to date format&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and was able to get my result by:&lt;/P&gt;&lt;P&gt;Date(Date#(SUBFIELD(PROPERTYDATETIME,'T',1),'YYYYMMDD'),'DD/MM/YYYY') &amp;amp;' '&amp;amp; Date(Date#(SUBFIELD(SUBFIELD(&lt;SPAN style="font-size: 13.3333px;"&gt;PROPERTYDATETIME&lt;/SPAN&gt;,'T',2),'.',1),'hhmmss'),'hh:mm')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, is there a better method of using the TimeStamp function of splitting the property up to format the datetime instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-String-to-Timestamp/m-p/89570#M753257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert String to Timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-String-to-Timestamp/m-p/89571#M753258</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;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date(Date#(Replace(Field,'T',' '),'YYYYMMDD hhmmss.fff'),'DD/MM/YYYY hh:mm')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Date(Date#(Replace(SubField(Field, ' ',1),'T',' '),'YYYYMMDD hhmmss.fff'),'DD/MM/YYYY hh:mm')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 15:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-String-to-Timestamp/m-p/89571#M753258</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-10-30T15:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Convert String to Timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-String-to-Timestamp/m-p/89572#M753259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use stringfunction to get rid of text "GMT"&lt;/P&gt;&lt;P&gt;then use&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&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: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('20181030T133100.000'),'DD/MM/YYYY hh:mm')&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;which gives me (you may Format to your dateformat)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/217110_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 15:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-String-to-Timestamp/m-p/89572#M753259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-30T15:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Convert String to Timestamp</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-String-to-Timestamp/m-p/89573#M753261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ended up with this:&lt;/P&gt;&lt;P&gt;timestamp(date(SUBFIELD(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PROPERTYDATETIME&lt;/SPAN&gt;,' ',1)),'DD/MM/YYYY hh:mm') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;was wondering if I was able to use the formatting to get rid of the gmt... but this works and much neater than mine hahas ^^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 01:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-String-to-Timestamp/m-p/89573#M753261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-31T01:42:26Z</dc:date>
    </item>
  </channel>
</rss>

