<?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>article How to get the Qlik Replicate change timestamp info in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/How-to-get-the-Qlik-Replicate-change-timestamp-info/ta-p/1850739</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;In general, for every target table in the&amp;nbsp;&lt;SPAN&gt;replication&lt;/SPAN&gt;&amp;nbsp;task, a change table with the corresponding name is maintained by&amp;nbsp;&lt;SPAN&gt;Qlik Replicate&lt;/SPAN&gt;&amp;nbsp;in the target endpoint. &amp;nbsp;A change table contains the original table columns, and header columns (for additional details please refer to the Replicate Users guide).&lt;/P&gt;
&lt;P&gt;When applying changes to the target tables, you can determine (via task setting) whether to replicate the changes to the target only, store changes in the Change Tables, or both.&lt;/P&gt;
&lt;P&gt;The change timestamp of the replicated data is kept in the Replicate Change Table as part of the header columns. The column name is &lt;STRONG&gt;header__timestamp&lt;/STRONG&gt;&amp;nbsp; and it includes the &lt;STRONG&gt;UTC&lt;/STRONG&gt; timestamp of the original change (the value may be approximate).&lt;/P&gt;
&lt;P&gt;If you choose to keep Change Tables then, to get the change timestamp you can access the header__timestamp on the change table. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you can get this info by adding to the target table a new column and with a transformation rule populate it with the value of the required header timestamp. &amp;nbsp;To define the column with the transformation rule go to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Table settings -&amp;gt; transform --&amp;gt; add column&lt;/LI&gt;
&lt;LI&gt;On the added column, choose expression builder (fx) --&amp;gt; headers tab and choose the required header column&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;U&gt;For instance:&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;AR_H_TIMESTAMP - returns the source host time zone of the change in source.&lt;BR /&gt;&lt;BR /&gt;AR_H_COMMIT_TIMESTAMP - returns the source host time zone of the COMMIT in the source.&lt;/P&gt;
&lt;P&gt;If you wish, you can populate the new column with the timestamp of the time that the change was applied in the target. To do this you should:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In table setting on the new added column, enter the expression builder (fx) --&amp;gt; Functions tab&lt;/LI&gt;
&lt;LI&gt;From the function list on the left choose 'Date and Time'&lt;/LI&gt;
&lt;LI&gt;On the right side, you’ll get the optional date and time functions that can be used in the transformation expression&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;U&gt;For example:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;datetime('now') returns Replicate host UTC time when the change was applied to the target.&lt;BR /&gt;&lt;BR /&gt;datetime('now','localtime') returns Replicate host local time when change was applied to target.&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Example adding 2 hours:&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;datetime('now','+2 hours','localtime')&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Note&lt;/EM&gt;:&amp;nbsp;You can use sqlite functions to set this at your convenience, but you can not change the original value.&lt;BR /&gt;&lt;BR /&gt;Please refer to the following link for additional info bout the available SQLite date and time functions:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://www.sqlite.org/lang_datefunc.html" target="_blank" rel="noopener"&gt;https://www.sqlite.org/lang_datefunc.html&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 05 Dec 2025 11:38:03 GMT</pubDate>
    <dc:creator>OritA</dc:creator>
    <dc:date>2025-12-05T11:38:03Z</dc:date>
    <item>
      <title>How to get the Qlik Replicate change timestamp info</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-to-get-the-Qlik-Replicate-change-timestamp-info/ta-p/1850739</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;In general, for every target table in the&amp;nbsp;&lt;SPAN&gt;replication&lt;/SPAN&gt;&amp;nbsp;task, a change table with the corresponding name is maintained by&amp;nbsp;&lt;SPAN&gt;Qlik Replicate&lt;/SPAN&gt;&amp;nbsp;in the target endpoint. &amp;nbsp;A change table contains the original table columns, and header columns (for additional details please refer to the Replicate Users guide).&lt;/P&gt;
&lt;P&gt;When applying changes to the target tables, you can determine (via task setting) whether to replicate the changes to the target only, store changes in the Change Tables, or both.&lt;/P&gt;
&lt;P&gt;The change timestamp of the replicated data is kept in the Replicate Change Table as part of the header columns. The column name is &lt;STRONG&gt;header__timestamp&lt;/STRONG&gt;&amp;nbsp; and it includes the &lt;STRONG&gt;UTC&lt;/STRONG&gt; timestamp of the original change (the value may be approximate).&lt;/P&gt;
&lt;P&gt;If you choose to keep Change Tables then, to get the change timestamp you can access the header__timestamp on the change table. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you can get this info by adding to the target table a new column and with a transformation rule populate it with the value of the required header timestamp. &amp;nbsp;To define the column with the transformation rule go to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Table settings -&amp;gt; transform --&amp;gt; add column&lt;/LI&gt;
&lt;LI&gt;On the added column, choose expression builder (fx) --&amp;gt; headers tab and choose the required header column&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;U&gt;For instance:&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;AR_H_TIMESTAMP - returns the source host time zone of the change in source.&lt;BR /&gt;&lt;BR /&gt;AR_H_COMMIT_TIMESTAMP - returns the source host time zone of the COMMIT in the source.&lt;/P&gt;
&lt;P&gt;If you wish, you can populate the new column with the timestamp of the time that the change was applied in the target. To do this you should:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;In table setting on the new added column, enter the expression builder (fx) --&amp;gt; Functions tab&lt;/LI&gt;
&lt;LI&gt;From the function list on the left choose 'Date and Time'&lt;/LI&gt;
&lt;LI&gt;On the right side, you’ll get the optional date and time functions that can be used in the transformation expression&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;U&gt;For example:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;datetime('now') returns Replicate host UTC time when the change was applied to the target.&lt;BR /&gt;&lt;BR /&gt;datetime('now','localtime') returns Replicate host local time when change was applied to target.&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;Example adding 2 hours:&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;datetime('now','+2 hours','localtime')&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Note&lt;/EM&gt;:&amp;nbsp;You can use sqlite functions to set this at your convenience, but you can not change the original value.&lt;BR /&gt;&lt;BR /&gt;Please refer to the following link for additional info bout the available SQLite date and time functions:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://www.sqlite.org/lang_datefunc.html" target="_blank" rel="noopener"&gt;https://www.sqlite.org/lang_datefunc.html&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 05 Dec 2025 11:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-to-get-the-Qlik-Replicate-change-timestamp-info/ta-p/1850739</guid>
      <dc:creator>OritA</dc:creator>
      <dc:date>2025-12-05T11:38:03Z</dc:date>
    </item>
  </channel>
</rss>

