<?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: Timestamp convertion from string outputing some null values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Timestamp-convertion-from-string-outputing-some-null-values/m-p/1987779#M81630</link>
    <description>&lt;P&gt;Perhaps this instead&lt;/P&gt;
&lt;P&gt;Timestamp(Timestamp#("Ticket Creation Time IT",'YYYY-MM-DD&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt; hh:mm:ss&lt;/STRONG&gt;&lt;/FONT&gt;'),'YYYY-MM-DD &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;hh:mm:ss&lt;/FONT&gt;&lt;/STRONG&gt;') as "Ticket Creation DateTime",&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2022 23:17:24 GMT</pubDate>
    <dc:creator>BrunPierre</dc:creator>
    <dc:date>2022-09-30T23:17:24Z</dc:date>
    <item>
      <title>Timestamp convertion from string outputing some null values</title>
      <link>https://community.qlik.com/t5/App-Development/Timestamp-convertion-from-string-outputing-some-null-values/m-p/1987684#M81627</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;I'm fairly new to Qlik and I've been developing my first app.&lt;/P&gt;
&lt;P&gt;I'm getting a set of data from an Oracle Database where one of the fields is a timestamp string in the format YYYY-MM-DD HH:MM:SS.&lt;/P&gt;
&lt;P&gt;Then in Qlik when I'm importing the data I'm using&amp;nbsp;SET TimestampFormat='YYYY-MM-DD hh:mm:ss'; at the top to set the default timestamp format and the following statement in the LOAD section to convert the string into a timestamp:&lt;/P&gt;
&lt;P&gt;TIMESTAMP(TIMESTAMP#( "Ticket Creation Time IT",'YYYY-MM-DD HH:MM:SS'),'YYYY-MM-DD HH:MM:SS') AS "Ticket Creation DateTime",&lt;/P&gt;
&lt;P&gt;My problem is that only some rows are being converted to a timestamp, others are just null.&lt;/P&gt;
&lt;P&gt;I haven't found any pattern for this behaviour and have search the web for a possible solution but couldn't find any.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="angelompcunha_0-1664556803735.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/90336i7C78D793F7EB26AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="angelompcunha_0-1664556803735.png" alt="angelompcunha_0-1664556803735.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can anyone lend a help on this topic?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: Beside the nulls output I also just noticed that the month is also incorrect. In the print above the first row that has a converted value should be 2022-05-03 09:03:51 but instead is being converted to&amp;nbsp;2022-03-03 09:03:51&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 17:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Timestamp-convertion-from-string-outputing-some-null-values/m-p/1987684#M81627</guid>
      <dc:creator>angelompcunha</dc:creator>
      <dc:date>2022-09-30T17:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp convertion from string outputing some null values</title>
      <link>https://community.qlik.com/t5/App-Development/Timestamp-convertion-from-string-outputing-some-null-values/m-p/1987779#M81630</link>
      <description>&lt;P&gt;Perhaps this instead&lt;/P&gt;
&lt;P&gt;Timestamp(Timestamp#("Ticket Creation Time IT",'YYYY-MM-DD&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt; hh:mm:ss&lt;/STRONG&gt;&lt;/FONT&gt;'),'YYYY-MM-DD &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;hh:mm:ss&lt;/FONT&gt;&lt;/STRONG&gt;') as "Ticket Creation DateTime",&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 23:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Timestamp-convertion-from-string-outputing-some-null-values/m-p/1987779#M81630</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-09-30T23:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp convertion from string outputing some null values</title>
      <link>https://community.qlik.com/t5/App-Development/Timestamp-convertion-from-string-outputing-some-null-values/m-p/1987854#M81639</link>
      <description>&lt;P&gt;Jeez I feel so dumb., it worked perfectly. I've working with frameworks where I use slightly different format and can be all caps and it didn't occured to me I was simply using the wrong format.&lt;/P&gt;
&lt;P&gt;Thanks for the help&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2022 18:58:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Timestamp-convertion-from-string-outputing-some-null-values/m-p/1987854#M81639</guid>
      <dc:creator>angelompcunha</dc:creator>
      <dc:date>2022-10-01T18:58:27Z</dc:date>
    </item>
  </channel>
</rss>

