<?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: extracting date and time as separate columns from same column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221226#M15311</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOkUAAW"&gt;@keshav1991&lt;/A&gt;&amp;nbsp;, yes&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2019 07:21:50 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2019-12-18T07:21:50Z</dc:date>
    <item>
      <title>extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221223#M15308</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a requirement to extract date and time as separate column from the same column.&lt;/P&gt;&lt;P&gt;my input column has data like "2018-09-27 18:48:24"&lt;/P&gt;&lt;P&gt;i want column1 to have data like "2018-09-27" and column2 to "18:48:24".&lt;/P&gt;&lt;P&gt;i tried&amp;nbsp;TalendDate.formatDate("yyyy-MM-dd", input column name), but it didn't worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221223#M15308</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T03:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221224#M15309</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOkUAAW"&gt;@keshav1991&lt;/A&gt;&amp;nbsp;, you need to convert date data type to sting and then split&amp;nbsp; based on space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;TalendDate.formatDate("yyyy-MM-dd hh:mm:ss", input column name)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 07:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221224#M15309</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-12-18T07:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221225#M15310</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;i need to convert from the input column right?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Keshav&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 07:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221225#M15310</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-18T07:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221226#M15311</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOkUAAW"&gt;@keshav1991&lt;/A&gt;&amp;nbsp;, yes&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 07:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221226#M15311</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-12-18T07:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221227#M15312</link>
      <description>&lt;P&gt;I Have changed the input column to string and i used the "formatDate" function, but no luck.&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/0683p000009LxL3"&gt;screenshot_4.jpg&lt;/A&gt;</description>
      <pubDate>Wed, 18 Dec 2019 07:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221227#M15312</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-18T07:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221228#M15313</link>
      <description>&lt;P&gt;attaching screenshot from tmap&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LxL8"&gt;screenshot_5.jpg&lt;/A&gt;</description>
      <pubDate>Wed, 18 Dec 2019 07:27:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221228#M15313</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-18T07:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221229#M15314</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOkUAAW"&gt;@keshav1991&lt;/A&gt;&amp;nbsp;, what is the source data type for relationship_created_on ,if it is string, then you can split based on space.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 07:47:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221229#M15314</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-12-18T07:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221230#M15315</link>
      <description>&lt;P&gt;Hi Keshav,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;formatDate output will be of string type. So, you need to parse it to date type before loading it into a date column.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Below script will help you split date &amp;amp; Time stamp separately.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;TalendDate.parseDate("yyyy-MM-dd",TalendDate.formatDate("yyyy-MM-dd",row2.HIRE_DATE_TIMESTAMP ))&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;TalendDate.parseDate("HH:mm:ss",TalendDate.formatDate("HH:mm:ss", row2.HIRE_DATE_TIMESTAMP))&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;PFB TM&lt;/SPAN&gt;&lt;SPAN&gt;ap configuration for reference.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="parsedate.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8O3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154167i9AFFB006AFF843AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8O3.png" alt="0683p000009M8O3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 08:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221230#M15315</guid>
      <dc:creator>knknaveen</dc:creator>
      <dc:date>2019-12-18T08:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221231#M15316</link>
      <description>&lt;P&gt;Relationship_created_on column is of datetime datatype, and when i test it from tmap console i am getting below error.&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/0683p000009LxFq"&gt;screenshot_6.JPG&lt;/A&gt;</description>
      <pubDate>Wed, 18 Dec 2019 10:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221231#M15316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-18T10:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221232#M15317</link>
      <description>&lt;P&gt;attaching the error screenshot.&lt;/P&gt;
&lt;P&gt;do i need worry about it or simply i can ignore and move forward&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lx99"&gt;screenshot_7.JPG&lt;/A&gt;</description>
      <pubDate>Wed, 18 Dec 2019 10:04:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221232#M15317</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-18T10:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221233#M15318</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQesAAG"&gt;@knknaveen&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;i have made changes as per you screenshot and script,but syill i'm getting below error.&lt;/P&gt; 
&lt;P&gt;[statistics] connecting to socket on port 4045&lt;BR /&gt;[statistics] connected&lt;BR /&gt;Exception in component tMap_1 (STG_TO_WAREHOUSE_REPO)&lt;BR /&gt;java.lang.RuntimeException: java.text.ParseException: Unparseable date: "2019-06-01"&lt;BR /&gt;at routines.TalendDate.parseDate(TalendDate.java:942)&lt;BR /&gt;at routines.TalendDate.parseDate(TalendDate.java:886)&lt;BR /&gt;at local_project.stg_to_warehouse_repo_0_1.STG_TO_WAREHOUSE_REPO.tDBInput_2_inProcess(STG_TO_WAREHOUSE_REPO.java:2468)&lt;BR /&gt;at local_project.stg_to_warehouse_repo_0_1.STG_TO_WAREHOUSE_REPO.runJobInTOS(STG_TO_WAREHOUSE_REPO.java:5829)&lt;BR /&gt;at local_project.stg_to_warehouse_repo_0_1.STG_TO_WAREHOUSE_REPO.main(STG_TO_WAREHOUSE_REPO.java:5678)&lt;BR /&gt;Caused by: java.text.ParseException: Unparseable date: "2019-06-01"&lt;BR /&gt;at java.text.DateFormat.parse(DateFormat.java:366)&lt;BR /&gt;at routines.TalendDate.parseDate(TalendDate.java:928)&lt;BR /&gt;... 4 more&lt;BR /&gt;[statistics] disconnected&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lx80"&gt;screenshot_8.JPG&lt;/A&gt;</description>
      <pubDate>Thu, 19 Dec 2019 06:58:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221233#M15318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-19T06:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221234#M15319</link>
      <description>For the error 'java.lang.RuntimeException: java.text.ParseException: Unparseable date: "2019-06-01"'&lt;BR /&gt;You should use the pattern as "yyyy-MM-dd" in the function TalendDate.parseDate("yyyy-MM-dd",xxxx)&lt;BR /&gt;&lt;BR /&gt;BTW, please insert the images into your post body instead of attaching it.</description>
      <pubDate>Thu, 19 Dec 2019 08:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221234#M15319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-19T08:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221235#M15320</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;, date issue looks resolved, but time is still giving error as it has issues.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot_9.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8Lt.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132927iC8A97AEBF3351A14/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8Lt.jpg" alt="0683p000009M8Lt.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 08:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221235#M15320</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-19T08:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221236#M15321</link>
      <description>What is target app?  I see the data type of these two columns are defined as Date,  the time string are converted back to a Date.</description>
      <pubDate>Mon, 23 Dec 2019 04:23:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221236#M15321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-23T04:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: extracting date and time as separate columns from same column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221237#M15322</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I found that the source column had data only for HH:mm so i changed the from&amp;nbsp;HH:mm:ss to HH:mm. it worked.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 08:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/extracting-date-and-time-as-separate-columns-from-same-column/m-p/2221237#M15322</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-06T08:41:56Z</dc:date>
    </item>
  </channel>
</rss>

