<?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: How to capture milli seconds When we use function datetime to convert to local time in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-capture-milli-seconds-When-we-use-function-datetime-to/m-p/2061315#M5693</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/220303"&gt;@Denial&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update.&lt;/P&gt;
&lt;P&gt;The one which is representing I believe that is UTC time only, As replicate consider default time as UTC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sachin B&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2023 04:56:54 GMT</pubDate>
    <dc:creator>SachinB</dc:creator>
    <dc:date>2023-04-18T04:56:54Z</dc:date>
    <item>
      <title>How to capture milli seconds When we use function datetime to convert to local time</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-capture-milli-seconds-When-we-use-function-datetime-to/m-p/2060886#M5677</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Facing issue&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class="ui-provider gz b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;When we use function datetime to convert to local time, the milli second information is not captured. All the values are populated with 000000.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Also we use Audit column value as datetime($AR_H_COMMIT_TIMESTAMP,'utc','+10 hours'), since local time need to be ingested.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tried to use the below expression but i am not able to test expression&amp;nbsp;&lt;/P&gt;
&lt;P&gt;datetime($AR_H_COMMIT_TIMESTAMP,'utc','+10 hours','yyyy-MM-dd hh:mm:ss.SSS')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please Let me know how i can capture the details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 09:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-capture-milli-seconds-When-we-use-function-datetime-to/m-p/2060886#M5677</guid>
      <dc:creator>Denial</dc:creator>
      <dc:date>2023-04-17T09:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture milli seconds When we use function datetime to convert to local time</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-capture-milli-seconds-When-we-use-function-datetime-to/m-p/2060897#M5678</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/220303"&gt;@Denial&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out.&lt;/P&gt;
&lt;P&gt;The header part information is retrieved from source database transaction log, or Replicate calculates based on some other basic information, if the transaction log does not record such detailed information eg commit time in millisecond&amp;nbsp;&lt;SPAN&gt;then Replicate cannot get it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please let us know the source database type ? We'd like to confirm for you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 10:01:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-capture-milli-seconds-When-we-use-function-datetime-to/m-p/2060897#M5678</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-04-17T10:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture milli seconds When we use function datetime to convert to local time</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-capture-milli-seconds-When-we-use-function-datetime-to/m-p/2060925#M5679</link>
      <description>&lt;P&gt;Hi John&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The source we were trying for DB2 iseries&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 10:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-capture-milli-seconds-When-we-use-function-datetime-to/m-p/2060925#M5679</guid>
      <dc:creator>Denial</dc:creator>
      <dc:date>2023-04-17T10:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture milli seconds When we use function datetime to convert to local time</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-capture-milli-seconds-When-we-use-function-datetime-to/m-p/2060966#M5681</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/220303"&gt;@Denial&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can use the &lt;/SPAN&gt;&lt;CODE&gt;strftime&lt;/CODE&gt;&lt;SPAN&gt; function to format a date and time value as a string with a specific format. To include milliseconds in the output, you can use the &lt;/SPAN&gt;&lt;CODE&gt;%f&lt;/CODE&gt;&lt;SPAN&gt; format code, which represents microseconds.&lt;BR /&gt;&lt;BR /&gt;This will return the current date and time with microseconds,&amp;nbsp;You can adjust the format string to match the format you need for your application.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hljs-title"&gt;strftime&lt;/SPAN&gt;&lt;SPAN class="hljs-params"&gt;(&lt;SPAN class="hljs-string"&gt;'%Y-%m-%d %H:%M:%f'&lt;/SPAN&gt;, &lt;SPAN class="hljs-string"&gt;'now'&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SachinB_0-1681733136621.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/105013i059C7B37D029A33B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SachinB_0-1681733136621.png" alt="SachinB_0-1681733136621.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Let us know hope this works for you.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sachin B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 12:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-capture-milli-seconds-When-we-use-function-datetime-to/m-p/2060966#M5681</guid>
      <dc:creator>SachinB</dc:creator>
      <dc:date>2023-04-17T12:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture milli seconds When we use function datetime to convert to local time</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-capture-milli-seconds-When-we-use-function-datetime-to/m-p/2061303#M5692</link>
      <description>&lt;P&gt;Hi Sachin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your response , Yes it is working fine just a quick doubt as in the expression can we use UTC&amp;nbsp; time to capture. i tried but it is not working Can you confirm on this .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 04:23:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-capture-milli-seconds-When-we-use-function-datetime-to/m-p/2061303#M5692</guid>
      <dc:creator>Denial</dc:creator>
      <dc:date>2023-04-18T04:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture milli seconds When we use function datetime to convert to local time</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/How-to-capture-milli-seconds-When-we-use-function-datetime-to/m-p/2061315#M5693</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/220303"&gt;@Denial&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update.&lt;/P&gt;
&lt;P&gt;The one which is representing I believe that is UTC time only, As replicate consider default time as UTC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sachin B&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 04:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/How-to-capture-milli-seconds-When-we-use-function-datetime-to/m-p/2061315#M5693</guid>
      <dc:creator>SachinB</dc:creator>
      <dc:date>2023-04-18T04:56:54Z</dc:date>
    </item>
  </channel>
</rss>

