<?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: Combine Columns Date and Hours in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Combine-Columns-Date-and-Hours/m-p/2255285#M38038</link>
    <description>&lt;P&gt;Hi You can use tJavaRow components and use below logic&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output_row.Date = input_row.Date; // it is string datatype&lt;BR /&gt;output_row.Hours = input_row.Hours; // it is string datatype&lt;BR /&gt;output_row.Date_hours = TalendDate.parseDate("dd/MM/yyyy HH:mm:ss",input_row.Date+" "+input_row.Hours);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and in output oracle use timestamp datatype of your required date .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhanraj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LuZV"&gt;Date.PNG&lt;/A&gt;</description>
    <pubDate>Tue, 12 Feb 2019 10:09:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-02-12T10:09:10Z</dc:date>
    <item>
      <title>Combine Columns Date and Hours</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Combine-Columns-Date-and-Hours/m-p/2255280#M38033</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi friends, good morning! I would like to know how do I combine two columns, one of date and another of houras in the talend and import into the database the date format time?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Ex: Column DataRef: 11/02/2019 and column hour string: 10:22:03, I would like to save the following column in the db 11/02/2019&amp;nbsp;10:22:03 ?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks !&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Combine-Columns-Date-and-Hours/m-p/2255280#M38033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Columns Date and Hours</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Combine-Columns-Date-and-Hours/m-p/2255281#M38034</link>
      <description>hi, the best way for me it's to format date and time to string. concatenate them then retrive datetime from this string.&lt;BR /&gt;&lt;BR /&gt;if columns came from db you can do it on db side&lt;BR /&gt;&lt;BR /&gt;an other way is to merge date and time in sql using tDbRow and an insert query.&lt;BR /&gt;&lt;BR /&gt;good luck</description>
      <pubDate>Mon, 11 Feb 2019 11:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Combine-Columns-Date-and-Hours/m-p/2255281#M38034</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-02-11T11:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Columns Date and Hours</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Combine-Columns-Date-and-Hours/m-p/2255282#M38035</link>
      <description>&lt;P&gt;This very much depends upon the column types you are combining and the column type you want to output. If they are Strings and you want to output in a String column, you simply need to concatenate using something like this....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;row.DateColumn +" " +row.TimeColumn&lt;/PRE&gt; 
&lt;P&gt;....in your output column in a tMap.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Otherwise, it might take a little more than that, but it still won't be too difficult.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 11:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Combine-Columns-Date-and-Hours/m-p/2255282#M38035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-11T11:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Columns Date and Hours</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Combine-Columns-Date-and-Hours/m-p/2255283#M38036</link>
      <description>&lt;P&gt;Sorry for jumping in&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKpMAAW"&gt;@fdenis&lt;/A&gt;. I started responding before you posted and left the response window while I had a call. Seems like you can handle this one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 11:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Combine-Columns-Date-and-Hours/m-p/2255283#M38036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-11T11:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Columns Date and Hours</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Combine-Columns-Date-and-Hours/m-p/2255284#M38037</link>
      <description>&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt; no problems. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 11 Feb 2019 13:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Combine-Columns-Date-and-Hours/m-p/2255284#M38037</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-02-11T13:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Combine Columns Date and Hours</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Combine-Columns-Date-and-Hours/m-p/2255285#M38038</link>
      <description>&lt;P&gt;Hi You can use tJavaRow components and use below logic&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output_row.Date = input_row.Date; // it is string datatype&lt;BR /&gt;output_row.Hours = input_row.Hours; // it is string datatype&lt;BR /&gt;output_row.Date_hours = TalendDate.parseDate("dd/MM/yyyy HH:mm:ss",input_row.Date+" "+input_row.Hours);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and in output oracle use timestamp datatype of your required date .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhanraj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LuZV"&gt;Date.PNG&lt;/A&gt;</description>
      <pubDate>Tue, 12 Feb 2019 10:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Combine-Columns-Date-and-Hours/m-p/2255285#M38038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-12T10:09:10Z</dc:date>
    </item>
  </channel>
</rss>

