<?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 Behavior of a timestamp field. in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Behavior-of-a-timestamp-field/m-p/1736359#M13128</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I'm doing a select an instance from a SqlServer database that has a timestamp field with the value '2020/08/13 14: 10: 49.093333'. But, It happens that when I write this instace in a QVD file, the value of this timesstamp field is zeroed at the end Ex: '2020/08/13 14: 10: 49.093000'. His behavior is like he is rounding the milliseconds.&lt;/P&gt;&lt;P&gt;Would you have any tips on how to solve this problem, writing the value read correctly in the QVD?&lt;/P&gt;</description>
    <pubDate>Mon, 17 Aug 2020 12:05:49 GMT</pubDate>
    <dc:creator>marciofreireteixeira</dc:creator>
    <dc:date>2020-08-17T12:05:49Z</dc:date>
    <item>
      <title>Behavior of a timestamp field.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Behavior-of-a-timestamp-field/m-p/1736359#M13128</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I'm doing a select an instance from a SqlServer database that has a timestamp field with the value '2020/08/13 14: 10: 49.093333'. But, It happens that when I write this instace in a QVD file, the value of this timesstamp field is zeroed at the end Ex: '2020/08/13 14: 10: 49.093000'. His behavior is like he is rounding the milliseconds.&lt;/P&gt;&lt;P&gt;Would you have any tips on how to solve this problem, writing the value read correctly in the QVD?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 12:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Behavior-of-a-timestamp-field/m-p/1736359#M13128</guid>
      <dc:creator>marciofreireteixeira</dc:creator>
      <dc:date>2020-08-17T12:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of a timestamp field.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Behavior-of-a-timestamp-field/m-p/1736364#M13129</link>
      <description>&lt;P&gt;It's probably because of your timestamp variable in Main tab of the script&lt;/P&gt;&lt;P&gt;SET TimestampFormat='DD/MM/YYYY h:mm:ss&lt;STRONG&gt;[.fff]&lt;/STRONG&gt;&amp;nbsp;';&lt;/P&gt;&lt;P&gt;change the highlighted part as below up to the decimal point you want&lt;/P&gt;&lt;P&gt;SET TimestampFormat='DD/MM/YYYY h:mm:ss&lt;STRONG&gt;[.fffffff]&lt;/STRONG&gt;';&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 12:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Behavior-of-a-timestamp-field/m-p/1736364#M13129</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-08-17T12:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of a timestamp field.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Behavior-of-a-timestamp-field/m-p/1736366#M13130</link>
      <description>&lt;P&gt;I did it, but the behavior remains the same.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2020 12:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Behavior-of-a-timestamp-field/m-p/1736366#M13130</guid>
      <dc:creator>marciofreireteixeira</dc:creator>
      <dc:date>2020-08-17T12:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of a timestamp field.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Behavior-of-a-timestamp-field/m-p/1736717#M13139</link>
      <description>&lt;P&gt;You are right, Qlik is rounding the number because they has more digits as the from Qlik used numerical system could handle, see for it: &lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Rounding-Errors/ba-p/1468808" target="_self"&gt;Rounding-Errors&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To store the whole value you could load these values as strings. Usually much better than this is to split the value into a date- and a time-field and only if the milliseconds are really important to store them within an extra millisecond-field. Most calculations/matchings could be done in this way and you will save a lot of RAM with it.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 12:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Behavior-of-a-timestamp-field/m-p/1736717#M13139</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-08-18T12:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Behavior of a timestamp field.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Behavior-of-a-timestamp-field/m-p/1736918#M13145</link>
      <description>&lt;P&gt;I tried loading the data value like below&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Data:   
LOAD * Inline [
Time
2020/08/13 14:10:49.093333 ];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then&amp;nbsp; I set the Timestamp format in load script exactly as data value like above&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;SET TimestampFormat='YYYY/MM/DD h:mm:ss[.fff]';&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see the same value.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;snapshot before Timestamp format set&amp;nbsp; (you can see it is text. Left aligned)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Annotation 2020-08-18 235132.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39223iDB3372D71398891D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Annotation 2020-08-18 235132.png" alt="Annotation 2020-08-18 235132.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;snapshot after Timestamp format set&amp;nbsp; (you can see it is Timestamp format. Right aligned)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotation 2020-08-18 235213.png" style="width: 348px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39224i56BCA2DDD2D78AE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotation 2020-08-18 235213.png" alt="Annotation 2020-08-18 235213.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 22:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Behavior-of-a-timestamp-field/m-p/1736918#M13145</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-08-18T22:54:44Z</dc:date>
    </item>
  </channel>
</rss>

