<?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: Year from Timestamp which is in text format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165517#M379493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more thing , but the same thing when i am using in backend script , then it is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 May 2016 19:06:36 GMT</pubDate>
    <dc:creator>agni_gold</dc:creator>
    <dc:date>2016-05-28T19:06:36Z</dc:date>
    <item>
      <title>Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165512#M379488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have below value in excel in text format need to extract year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;29-APR-15 08.47.23.000000000 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have tried many ways using timestamp#&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 18:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165512#M379488</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2016-05-28T18:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165513#M379489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's only about the year, try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=TextBetween('29-APR-15 08.47.23.000000000 AM','-',' ',2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; TextBetween(TIMESTAMPFIELD,'-',' ',2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 18:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165513#M379489</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-28T18:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165514#M379490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No no actually i want to convert it into timestamp , then date format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 18:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165514#M379490</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2016-05-28T18:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165515#M379491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Timestamp(Timestamp#('29-APR-15 08.47.23.000000000 AM','DD-MMM-YY hh.mm.ss.fff TT'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems to work for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 18:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165515#M379491</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-28T18:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165516#M379492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks found my mistake &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was making below (in bold) mistake&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Timestamp(Timestamp#('29-APR-15 08.47.23.000000000 AM','DD-MMM-YY hh.mm.ss.&lt;STRONG&gt;[fff]&lt;/STRONG&gt; TT'))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 18:57:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165516#M379492</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2016-05-28T18:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165517#M379493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more thing , but the same thing when i am using in backend script , then it is not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 19:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165517#M379493</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2016-05-28T19:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165518#M379494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's even working with your format code at my site (which I would also expect).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you have also used e.g. a colon instead of dots as separator between hours, minutes, seconds?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 19:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165518#M379494</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-28T19:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165519#M379495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Agnivesh Kumar wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;One more thing , but the same thing when i am using in backend script , then it is not working.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works for me also in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,Timestamp(Timestamp#(TIMESTAMP,'DD-MMM-YY hh.mm.ss.[fff] TT')) as Converted&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;TIMESTAMP&lt;/P&gt;&lt;P&gt;29-APR-15 08.47.23.000000000 AM&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you test if this script is working for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 19:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165519#M379495</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-28T19:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165520#M379496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your script is also working for me , but in my script i am also using same &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timestamp(Timestamp#(OPENED_AT,'DD-MMM-YY hh:mm:ss.fff TT'))&amp;nbsp; AS [Incident Open Date],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 19:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165520#M379496</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2016-05-28T19:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165521#M379497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then I think your input field format differs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that the format exactely matches, even for white spaces (there are different kind of white spaces)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 19:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165521#M379497</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-28T19:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165522#M379498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Value which i have provided you at starting of thread is copied from my source excel, and i have rechecked for any white space, no white spaces present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your inputs , lets to some more hands on on this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 19:23:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165522#M379498</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2016-05-28T19:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165523#M379499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when using only &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Timestamp#(OPENED_AT,'DD-MMM-YY hh:mm:ss.fff TT')&amp;nbsp; AS Converted &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;This is making my field but when i used timestamp function then my field is not creating .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Such a weird situation&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 19:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165523#M379499</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2016-05-28T19:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165524#M379500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Timestamp#(OPENED_AT,'DD-MMM-YY hh:mm:ss.fff TT')&amp;nbsp; AS Converted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;will just return the text value if the conversion fails. If you then apply Timestamp() formatting, it will result to NULL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Could you upload this excel file (or a copy of the field that failed)?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 19:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165524#M379500</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-28T19:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165525#M379501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here it is....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 19:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165525#M379501</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2016-05-28T19:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165526#M379502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your sample file loaded just fine with this script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD *,Timestamp(Timestamp#([OPENED_AT],'DD-MMM-YY hh.mm.ss.[fff] TT')) as Converted;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;LOAD OPENED_AT&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Incident.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is SERVICENOW.INCIDENT);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which version of QV are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-05-28 21_47_49-QlikView x64 - [C__Users_Stefan_Downloads_comm218709.qvw_].png" class="jive-image image-1" src="/legacyfs/online/126119_2016-05-28 21_47_49-QlikView x64 - [C__Users_Stefan_Downloads_comm218709.qvw_].png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 19:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165526#M379502</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-28T19:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165527#M379503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QV12 SR1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 20:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165527#M379503</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2016-05-28T20:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Year from Timestamp which is in text format</title>
      <link>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165528#M379504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shit man , very silly mistake i made &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hh:mm:ss&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&amp;nbsp; I am using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But source has &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hh.mm.ss&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----- should use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks man all your great help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 20:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-from-Timestamp-which-is-in-text-format/m-p/1165528#M379504</guid>
      <dc:creator>agni_gold</dc:creator>
      <dc:date>2016-05-28T20:11:30Z</dc:date>
    </item>
  </channel>
</rss>

