<?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: [resolved] Convert data type string to time in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341260#M109232</link>
    <description>It worked!!! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt; Thank you very much!! 
&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>Wed, 20 Feb 2013 12:12:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-20T12:12:10Z</dc:date>
    <item>
      <title>[resolved] Convert data type string to time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341249#M109221</link>
      <description>Hi all, 
&lt;BR /&gt;I'm having real problem to upload one table of the db, online. I have a 'time' field in my table (initialy 'Time' database type and 'Date' type in tMap), which i read in tMap as a string and i want to convert it to time in the output. I have used these to methods 
&lt;BR /&gt; //TalendDate.formatDate("HH:mm:ss",row1.ora); 
&lt;BR /&gt;//TalendDate.parseDate("yyyy-MM-dd HH:mm:ss",row1.ora); 
&lt;BR /&gt;..but none of them worked. What should i do? If you need more information just tell me, please! It's the first time i write here so i may be uncomplete.. 
&lt;BR /&gt;P.S: The reason i run through this solution is because i couldn't export the 'ora' column as it's initial type. It always showed me the error pictured in pic a5. 
&lt;BR /&gt;Thanks in advance! 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDfL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151650i2EB9889704D7033C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDfL.png" alt="0683p000009MDfL.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 18 Feb 2013 11:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341249#M109221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-18T11:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert data type string to time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341250#M109222</link>
      <description>Hi Mirela,
&lt;BR /&gt;What is your source time? Is the date format yyyy-MM-dd HH:mm:ss?Such as, 2013-02-19 16:32:20? 
&lt;BR /&gt;Try this expression:
&lt;BR /&gt;
&lt;PRE&gt;TalendDate.parseDate("yyyyMMddHHmmss",row1.ora)&lt;/PRE&gt;
&lt;BR /&gt;Your feedback will be preferred.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 19 Feb 2013 01:55:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341250#M109222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-19T01:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert data type string to time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341251#M109223</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi all,&lt;BR /&gt;I'm having real problem to upload one table of the db, online. I have a 'time' field in my table (initialy 'Time' database type and 'Date' type in tMap), which i read in tMap as a string and i want to convert it to time in the output. I have used these to methods&lt;BR /&gt; //TalendDate.formatDate("HH:mm:ss",row1.ora);&lt;BR /&gt;//TalendDate.parseDate("yyyy-MM-dd HH:mm:ss",row1.ora);&lt;BR /&gt;..but none of them worked. What should i do? If you need more information just tell me, please! It's the first time i write here so i may be uncomplete..&lt;BR /&gt;P.S: The reason i run through this solution is because i couldn't export the 'ora' column as it's initial type. It always showed me the error pictured in pic a5.&lt;BR /&gt;Thanks in advance!&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi Mirela, 
&lt;BR /&gt;Can you please share the image with the column details of row1.ora visible in tMap. 
&lt;BR /&gt;Also, i tried a case on my machine where i had a string input to tMap and have parsed it to date in output using TalendDate.parseDate("yyyy-MM-dd HH:mm:ss",row1.ora) where the input string date was in the format "yyyy-MM-dd HH:mm:ss" for e.g. "2013-02-18 10:20:30" and the output in tMap was of Date datatype which can be in any format say "dd-MM-yyyy hh:MM:ss". It works fine for me. 
&lt;BR /&gt;Please find attached the image depicting the same. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDc0.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144380i1C065712D9F9597B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDc0.jpg" alt="0683p000009MDc0.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 19 Feb 2013 05:54:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341251#M109223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-19T05:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert data type string to time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341252#M109224</link>
      <description>Hi Mirela, &lt;BR /&gt;Do you job work well? Or there is still a problem?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 20 Feb 2013 06:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341252#M109224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-20T06:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert data type string to time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341253#M109225</link>
      <description>hi 
&lt;BR /&gt;thanks for replying! 
&lt;BR /&gt;I tried this expression TalendDate.parseDate("yyyy-MM-dd HH:mm:ss",row1.ora) as you guys said but still no result 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;The ora column type in db is 'time' 
&lt;BR /&gt;Diwakar please find attached the pics you requested. I hope we'll get to a solution about this.. 
&lt;BR /&gt;Best regards to both</description>
      <pubDate>Wed, 20 Feb 2013 09:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341253#M109225</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-20T09:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert data type string to time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341254#M109226</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Diwakar please find attached the pics you requested.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Image missing..</description>
      <pubDate>Wed, 20 Feb 2013 09:57:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341254#M109226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-20T09:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert data type string to time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341255#M109227</link>
      <description>sorry i'm trying to upload them but apparently they won't show up .. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDMe.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128270i023A3CA48260EA1F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDMe.png" alt="0683p000009MDMe.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDrT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157706i9632D686446DD4C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDrT.png" alt="0683p000009MDrT.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 20 Feb 2013 10:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341255#M109227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-20T10:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert data type string to time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341256#M109228</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;sorry i'm trying to upload them but apparently they won't show up .. &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Limits: 20 images per post, each image must be less then 1024x768 pixels and 200 KB 
&lt;BR /&gt;Make sure you comply to the above before attaching.</description>
      <pubDate>Wed, 20 Feb 2013 10:20:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341256#M109228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-20T10:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert data type string to time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341257#M109229</link>
      <description>Hi,&lt;BR /&gt;Can you also post the values of the source input string. I believe it is not in the correct format.</description>
      <pubDate>Wed, 20 Feb 2013 11:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341257#M109229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-20T11:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert data type string to time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341258#M109230</link>
      <description>Ora Input example: 06:15:00 
&lt;BR /&gt;The db type of the input is originally "time" , than it's converted to string by tConvertType.. goes into tMap as string.. out of tMap as string. I need now to reconvert it at least at "data" type otherwise i will need to convert it via a php function in the program that uses this database. But it would low down the performance of the program and that's why i need to reconvert it back from Talend.
&lt;BR /&gt;Not sure if i was clear enough &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;</description>
      <pubDate>Wed, 20 Feb 2013 11:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341258#M109230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-20T11:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert data type string to time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341259#M109231</link>
      <description>Hi 
&lt;BR /&gt;Try this expression 
&lt;BR /&gt;
&lt;PRE&gt;TalendDate.parseDate("HH:mm:ss",row1.ora)&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Feb 2013 12:05:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341259#M109231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-20T12:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Convert data type string to time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341260#M109232</link>
      <description>It worked!!! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt; Thank you very much!! 
&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>Wed, 20 Feb 2013 12:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Convert-data-type-string-to-time/m-p/2341260#M109232</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-20T12:12:10Z</dc:date>
    </item>
  </channel>
</rss>

