<?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: Converting String format in excel to date format in db in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366472#M129957</link>
    <description>Hi,
&lt;BR /&gt;
&lt;BR /&gt;tFileExcelInput -&amp;gt; tmap -&amp;gt; tOracleOutput (example)
&lt;BR /&gt;In the tmap component you can convert string to date in the expression editor of the particular object by using the below function.
&lt;BR /&gt;
&lt;BR /&gt;TalendDate.parseDate("yyyy-MM-dd HH:mm:ss",your_Date_Column_in_String_Format)
&lt;BR /&gt;
&lt;BR /&gt;This will convert your string to date
&lt;BR /&gt;
&lt;BR /&gt;Thanks
&lt;BR /&gt;Raghu</description>
    <pubDate>Thu, 03 Aug 2017 13:27:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-03T13:27:05Z</dc:date>
    <item>
      <title>Converting String format in excel to date format in db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366468#M129953</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an excel in which one column contains dates, however these dates are in the string&amp;nbsp;format. I'd like to convert this column to a date format&amp;nbsp;in db.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone please help me with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;hs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 09:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366468#M129953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-03T09:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Converting String format in excel to date format in db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366469#M129954</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;You can use a tmap in between the excel input and the db output components. Where you can use Talend Date functions to convert it from String to Date.</description>
      <pubDate>Thu, 03 Aug 2017 10:20:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366469#M129954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-03T10:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Converting String format in excel to date format in db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366470#M129955</link>
      <description>Can't you just change the schema in your tFileInputExcel (presume that's what you're using) so that the column has a correctly defined Date format?</description>
      <pubDate>Thu, 03 Aug 2017 10:37:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366470#M129955</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-03T10:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Converting String format in excel to date format in db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366471#M129956</link>
      <description>&lt;P&gt;sir could you please help me with example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example: I have a column name &lt;FONT color="#0000ff"&gt;modified on&lt;/FONT&gt; in excel and in that I have records in string format but data is filled with 8/3/12 12:00....so on&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;now I want the string data type to date data type while I am loading the excel to db.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards,&lt;/P&gt;
&lt;P&gt;sushmaaa&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 10:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366471#M129956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-03T10:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Converting String format in excel to date format in db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366472#M129957</link>
      <description>Hi,
&lt;BR /&gt;
&lt;BR /&gt;tFileExcelInput -&amp;gt; tmap -&amp;gt; tOracleOutput (example)
&lt;BR /&gt;In the tmap component you can convert string to date in the expression editor of the particular object by using the below function.
&lt;BR /&gt;
&lt;BR /&gt;TalendDate.parseDate("yyyy-MM-dd HH:mm:ss",your_Date_Column_in_String_Format)
&lt;BR /&gt;
&lt;BR /&gt;This will convert your string to date
&lt;BR /&gt;
&lt;BR /&gt;Thanks
&lt;BR /&gt;Raghu</description>
      <pubDate>Thu, 03 Aug 2017 13:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366472#M129957</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-03T13:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Converting String format in excel to date format in db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366473#M129958</link>
      <description>&lt;P&gt;thank you sir...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my input string is in 1/15/17 00:00 ..&lt;/P&gt;&lt;P&gt;so I have used this&amp;nbsp;function in tMap :&lt;/P&gt;&lt;P&gt;&amp;nbsp;TalendDate.parseDate("MM/dd/yy h:mm",your_Date_Column_in_String_Format)&lt;/P&gt;&lt;P&gt;and the string datatype is changed to date datatype in output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one doubt , if I have a file in csv format,will it work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 05:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366473#M129958</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-04T05:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Converting String format in excel to date format in db</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366474#M129959</link>
      <description>thank you..&lt;BR /&gt;its working</description>
      <pubDate>Thu, 10 Aug 2017 11:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-String-format-in-excel-to-date-format-in-db/m-p/2366474#M129959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-10T11:25:08Z</dc:date>
    </item>
  </channel>
</rss>

