<?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 in UTC in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Timestamp-in-UTC/m-p/2519860#M14462</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144432"&gt;@simonB2020&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Could you try using &lt;CODE&gt;datetime('now')&lt;/CODE&gt;? Additionally, you can test the result in the Expression Builder.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jun 2025 02:18:53 GMT</pubDate>
    <dc:creator>DesmondWOO</dc:creator>
    <dc:date>2025-06-03T02:18:53Z</dc:date>
    <item>
      <title>Timestamp in UTC</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Timestamp-in-UTC/m-p/2519600#M14454</link>
      <description>&lt;P&gt;Trying to use Global rules to add a UTC timestamp column to each table/record reflecting when processed by QR Task.&lt;BR /&gt;Just tried the below but on selecting results in Redshift it is showing "2025-05-30 17:27:25.000"&lt;BR /&gt;It is currently 13:27 UTC&lt;BR /&gt;&lt;BR /&gt;```&lt;BR /&gt;datetime('now', 'utc')&lt;BR /&gt;```&lt;BR /&gt;Appreciate any guidance&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 13:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Timestamp-in-UTC/m-p/2519600#M14454</guid>
      <dc:creator>simonB2020</dc:creator>
      <dc:date>2025-05-30T13:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp in UTC</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Timestamp-in-UTC/m-p/2519602#M14455</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144432"&gt;@simonB2020&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please try to use:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;datetime('now', '-4 hours')&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope it works for you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 13:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Timestamp-in-UTC/m-p/2519602#M14455</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-05-30T13:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp in UTC</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Timestamp-in-UTC/m-p/2519604#M14456</link>
      <description>&lt;P&gt;Thanks John,&lt;BR /&gt;Unfortunately that is going to fall over as soon as DST hits.&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 13:53:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Timestamp-in-UTC/m-p/2519604#M14456</guid>
      <dc:creator>simonB2020</dc:creator>
      <dc:date>2025-05-30T13:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp in UTC</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Timestamp-in-UTC/m-p/2519621#M14459</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144432"&gt;@simonB2020&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P data-start="82" data-end="191"&gt;You're absolutely right, and I appreciate your correction. I apologize for my earlier inaccurate explanation.&lt;/P&gt;
&lt;P data-start="193" data-end="428"&gt;The expression &lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;datetime('now', '-4 hours')&lt;/FONT&gt;&amp;nbsp;&lt;/SPAN&gt;always subtracts 4 hours from &lt;STRONG data-start="268" data-end="275"&gt;UTC&lt;/STRONG&gt;, regardless of whether the local time is currently observing standard time or daylight saving time. This makes it unsuitable for DST-aware calculations.&lt;/P&gt;
&lt;P data-start="430" data-end="655"&gt;Additionally, both &lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;datetime('now')&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;and &lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;datetime('now', 'utc')&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;return the &lt;STRONG data-start="507" data-end="527"&gt;current UTC time&lt;/STRONG&gt;. It's important to note that this expression is evaluated on the &lt;STRONG data-start="593" data-end="618"&gt;Qlik Replicate server&lt;/STRONG&gt;, not the source or target databases.&lt;/P&gt;
&lt;P data-start="657" data-end="726"&gt;To better understand the behavior, I’d like to clarify the following:&lt;/P&gt;
&lt;OL data-start="728" data-end="1260"&gt;
&lt;LI data-start="728" data-end="947"&gt;
&lt;P data-start="731" data-end="947"&gt;&lt;STRONG data-start="731" data-end="833"&gt;Is there a time zone difference between the Qlik Replicate server and the Amazon Redshift cluster?&lt;/STRONG&gt;&lt;BR data-start="833" data-end="836" /&gt;This could affect the interpretation of datetime values if one is in UTC and the other in a local time zone.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI data-start="949" data-end="1260"&gt;
&lt;P data-start="952" data-end="1260"&gt;&lt;STRONG data-start="952" data-end="1082"&gt;Can you confirm the actual datetime values directly within Redshift using a native client or console (e.g., AWS Query Editor)?&lt;/STRONG&gt;&lt;BR data-start="1082" data-end="1085" /&gt;Please be cautious, as some third-party tools (e.g., dbeaver) may automatically adjust and display timestamps according to the local time zone, which can lead to confusion.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P data-start="1262" data-end="1377"&gt;Let me know what you find, and I’ll be happy to assist further based on the time zone settings in your environment.&lt;/P&gt;
&lt;P data-start="1262" data-end="1377"&gt;Best Regards,&lt;/P&gt;
&lt;P data-start="1262" data-end="1377"&gt;John.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 15:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Timestamp-in-UTC/m-p/2519621#M14459</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2025-05-30T15:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Timestamp in UTC</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Timestamp-in-UTC/m-p/2519860#M14462</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/144432"&gt;@simonB2020&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Could you try using &lt;CODE&gt;datetime('now')&lt;/CODE&gt;? Additionally, you can test the result in the Expression Builder.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 02:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Timestamp-in-UTC/m-p/2519860#M14462</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2025-06-03T02:18:53Z</dc:date>
    </item>
  </channel>
</rss>

