<?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 Date format issue in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Date-format-issue/m-p/2451943#M11063</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;Facing date issue. In the source the date column values are&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;04/30/2023, 04/23/2023......&amp;nbsp;&lt;/STRONG&gt;, But in the target we are getting in this way &lt;STRONG&gt;Target : 1970-01-01, 1970-02-05.............&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;source : SAPHANA&lt;/P&gt;
&lt;P&gt;Target : snowflake&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Its a full load task&lt;/P&gt;
&lt;P&gt;Request your help.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2024 02:45:15 GMT</pubDate>
    <dc:creator>suvbin</dc:creator>
    <dc:date>2024-05-14T02:45:15Z</dc:date>
    <item>
      <title>Date format issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Date-format-issue/m-p/2451943#M11063</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;Facing date issue. In the source the date column values are&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;04/30/2023, 04/23/2023......&amp;nbsp;&lt;/STRONG&gt;, But in the target we are getting in this way &lt;STRONG&gt;Target : 1970-01-01, 1970-02-05.............&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;source : SAPHANA&lt;/P&gt;
&lt;P&gt;Target : snowflake&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Its a full load task&lt;/P&gt;
&lt;P&gt;Request your help.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 02:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Date-format-issue/m-p/2451943#M11063</guid>
      <dc:creator>suvbin</dc:creator>
      <dc:date>2024-05-14T02:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Date format issue</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Date-format-issue/m-p/2451947#M11064</link>
      <description>&lt;P&gt;[edited]&lt;/P&gt;
&lt;P&gt;You need to provide more details. What is the source data-type, target data-type?&lt;/P&gt;
&lt;P&gt;Are the source/target you show as examples random examples from non-correlated rows or is&amp;nbsp;&lt;STRONG&gt;04/30/2023 --&amp;gt; 1970-01-01&lt;/STRONG&gt;, and&lt;STRONG&gt; 04/23/2023 --&amp;gt;&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;1970-02-05&lt;/STRONG&gt; for the same source rows?&lt;/P&gt;
&lt;P&gt;"&lt;STRONG&gt;04/30/2023" &lt;/STRONG&gt;May look like a date to some folks, but is just a string of gibberish to me and perhaps to Replicate as well, as it expects YYYY-MM-DD.&lt;/P&gt;
&lt;P&gt;What if you add a text column and fill it with that 'date' value? What does it look like as a string. If you see mm/dd/yyyy then I suspect you need a transformation on your main column parsing out the mm, dd and yyyy perhaps with substring if leading zeros are exposes and glueing them back together with dashes as input to date().&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1970-01-01 is of course highly suspect as&amp;nbsp;&lt;SPAN&gt;1 January 1970 00:00:00 UTC is the Unix Epoch start time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I suspect your source date is in perhaps an INTEGER number&amp;nbsp;off days since a certain SAP base date treated as seconds since Epoch.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;edit: Check out&amp;nbsp;&lt;A href="https://www.epochconverter.com/" target="_blank"&gt;https://www.epochconverter.com/&lt;/A&gt;&amp;nbsp;- a vary handy site with many transformations. For yucks; if you fill in 20230423 (interpreted as seconds since 1/1/1907 you get&amp;nbsp;&lt;SPAN&gt;Sunday, August 23, 1970.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;edit: Google for sap hana internal data format suggests YYYYMMDD (number!) and there are several hits asking how to convert to mm/dd/yyyy string, suggesting that is NOT a normal sap date.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 03:59:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Date-format-issue/m-p/2451947#M11064</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2024-05-14T03:59:08Z</dc:date>
    </item>
  </channel>
</rss>

