<?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 Parse char to timestamp in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209760#M8449</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a table column with char data type and below is the value. Now I need to convert this to a date data type. I am trying to use&amp;nbsp;TalendDate.parseDate and&amp;nbsp;TalendDate.formatDate combination to achieve this. Can you please help how to get this done? Appreciate the help!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Source Value - 2020-04-12-23.43.00.013342&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code trying to use:&lt;/P&gt;
&lt;P&gt;TalendDate.parseDate("yyyy-MM-dd-HH.mm.ss.ssssss",row7.OPPORTUNITYID.trim())&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:39:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T02:39:53Z</dc:date>
    <item>
      <title>Parse char to timestamp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209760#M8449</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a table column with char data type and below is the value. Now I need to convert this to a date data type. I am trying to use&amp;nbsp;TalendDate.parseDate and&amp;nbsp;TalendDate.formatDate combination to achieve this. Can you please help how to get this done? Appreciate the help!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Source Value - 2020-04-12-23.43.00.013342&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code trying to use:&lt;/P&gt;
&lt;P&gt;TalendDate.parseDate("yyyy-MM-dd-HH.mm.ss.ssssss",row7.OPPORTUNITYID.trim())&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209760#M8449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Parse char to timestamp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209761#M8450</link>
      <description>how are you getting as char? Really not understand and the below expression is to convert string to date. 
&lt;BR /&gt;
&lt;BR /&gt;TalendDate.parseDate("yyyy-MM-dd-HH.mm.ss.ssssss",row7.OPPORTUNITYID.trim())</description>
      <pubDate>Fri, 17 Apr 2020 00:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209761#M8450</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-04-17T00:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Parse char to timestamp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209762#M8451</link>
      <description>&lt;P&gt;Hi Manohar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let me put it this way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a column as char data type with value "2020-04-12-23.43.00.013342" on it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i need to convert this to DATE datatype by keeping the same format of the value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;please let me know how this can be done.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 00:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209762#M8451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-17T00:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Parse char to timestamp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209763#M8452</link>
      <description>First convert char to sting and then you try to use expression, which you have.</description>
      <pubDate>Fri, 17 Apr 2020 00:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209763#M8452</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-04-17T00:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Parse char to timestamp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209764#M8453</link>
      <description>&lt;P&gt;I stand corrected that my source format is actually string not char.&amp;nbsp;I used below command.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;source -&amp;nbsp;2020-04-12-23.43.00.013342&lt;/P&gt; 
&lt;P&gt;TalendDate.parseDateInUTC("yyyy-MM-dd-HH.mm.ss.ssssss",row7.OPPORTUNITYID)&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;output - 2020-04-12-23.25.22.000022&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tMap output definition.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotation.png" style="width: 200px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9HP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154414i833B52CA4C411D02/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9HP.png" alt="0683p000009M9HP.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i am not sure why mm.ss.ssssss part is getting changed.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 01:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209764#M8453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-17T01:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Parse char to timestamp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209765#M8454</link>
      <description>&lt;P&gt;Hi Prabav, I am also facing same issue mm.ss.ssssss part is getting changed. Have you resolved this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 06:49:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209765#M8454</guid>
      <dc:creator>ganeshK</dc:creator>
      <dc:date>2021-05-06T06:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Parse char to timestamp</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209766#M8455</link>
      <description>&lt;P&gt;Hi , the java Time class don't support nanosecond.&lt;/P&gt;&lt;P&gt;the max you can use is for millisecond.&lt;/P&gt;&lt;P&gt;You can use the LocalDateTime class instead&lt;/P&gt;&lt;P&gt;Send me Love and Kudos&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 06:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-char-to-timestamp/m-p/2209766#M8455</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-05-06T06:53:46Z</dc:date>
    </item>
  </channel>
</rss>

