<?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] HELP - HOW TO CHANGE DATE FORMAT in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209022#M8020</link>
    <description>Hi&amp;nbsp; 
&lt;BR /&gt;Try with below expression: 
&lt;BR /&gt;TalendDate.parseDate("dd/MM/yyyy",TalendDate.formatDate("dd/MM/yyyy",row2.Date_debut_arret_travail))&amp;nbsp; 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;kumar</description>
    <pubDate>Fri, 17 Apr 2015 11:32:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-17T11:32:00Z</dc:date>
    <item>
      <title>[resolved] HELP - HOW TO CHANGE DATE FORMAT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209020#M8018</link>
      <description>Hi all,&lt;BR /&gt;I face a problem, i test a solution that i mean good but i don't know why it result error in tMap&lt;BR /&gt;I have a date in this format &lt;B&gt;MM/DD/YYYY&lt;/B&gt; &amp;nbsp;so i want to get in the output of my tMAP the same date in this format &lt;B&gt;DD/MM/YYYY&lt;/B&gt;&lt;BR /&gt;So i do this transformation in my tMap:&lt;BR /&gt; TalendDate.parseDate("dd/MM/yyyy", &amp;nbsp;TalendDate.formatDate("MM/dd/yyyy",row2.Date_debut_arret_travail)&amp;nbsp;) &lt;BR /&gt;But it does not work, may somebody help me please?&lt;BR /&gt;Thanks,</description>
      <pubDate>Fri, 17 Apr 2015 10:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209020#M8018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T10:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] HELP - HOW TO CHANGE DATE FORMAT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209021#M8019</link>
      <description>Hi,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Here is a tConvertType component which helps to automatically convert one &lt;B&gt;Talend &lt;/B&gt;java type to another and thus avoid compiling errors.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 17 Apr 2015 11:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209021#M8019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T11:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] HELP - HOW TO CHANGE DATE FORMAT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209022#M8020</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;Try with below expression: 
&lt;BR /&gt;TalendDate.parseDate("dd/MM/yyyy",TalendDate.formatDate("dd/MM/yyyy",row2.Date_debut_arret_travail))&amp;nbsp; 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;kumar</description>
      <pubDate>Fri, 17 Apr 2015 11:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209022#M8020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T11:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] HELP - HOW TO CHANGE DATE FORMAT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209023#M8021</link>
      <description>Hi kumar.talend, 
&lt;BR /&gt;Thank you for your response. I have tried it but it does not work. 
&lt;BR /&gt;This expression: TalendDate.formatDate("dd/MM/yyyy" , xxxx ) transform the date format to String so the pattern 
&lt;B&gt; "dd/MM/yyyy"&lt;/B&gt; 
&lt;BR /&gt;should respect the date format 
&lt;BR /&gt;If my analysis is wrong, please feel free to correct me. 
&lt;BR /&gt;Thanks,</description>
      <pubDate>Fri, 17 Apr 2015 13:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209023#M8021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T13:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] HELP - HOW TO CHANGE DATE FORMAT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209024#M8022</link>
      <description>if you want date in different format in tMap then use schema to mention desire output format.&amp;nbsp;&lt;BR /&gt;once you convert date, then change the output date format in schema column to "dd/MM/yyyy" Talend will do all the stuff for you. you don`t need to write anything else.&amp;nbsp;&lt;BR /&gt;If you want to use formatted date in same column then you need to do two time parsing for same date.&amp;nbsp;&lt;BR /&gt;first convert string to date using actual format then use&amp;nbsp;&lt;BR /&gt;&lt;PRE&gt;TalendDate.parseDate("dd/MM/yyyy", TalendDate.formatDate("dd/MM/yyy", TalendDate.parseDate("MM/dd/yyyy","10/20/2015")))&lt;/PRE&gt;&lt;BR /&gt;Hope this will help you..</description>
      <pubDate>Fri, 17 Apr 2015 14:08:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209024#M8022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T14:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] HELP - HOW TO CHANGE DATE FORMAT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209025#M8023</link>
      <description>Hi umershrakhe,&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;if you want date in different format in tMap then use schema to mention desire output format.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;once you convert date, then change the output date format in schema column to "dd/MM/yyyy" Talend will do all the stuff for you. you don`t need to write anything else.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;I have done whate you recommand, but i get this error:&lt;BR /&gt;&lt;B&gt;Exception in component tMap_2&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;java.lang.NullPointerException&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;	at java.util.Calendar.setTime(Calendar.java:1106)&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;	at java.text.SimpleDateFormat.format(SimpleDateFormat.java:955)&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;	at java.text.SimpleDateFormat.format(SimpleDateFormat.java:948)&lt;/B&gt;&lt;BR /&gt;&lt;B&gt;	at java.text.DateFormat.format(DateFormat.java:336)&lt;/B&gt;&lt;BR /&gt;	&lt;B&gt;at routines.TalendDate.formatDate(TalendDate.java:130)&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;Thank for your help, any help please,</description>
      <pubDate>Fri, 17 Apr 2015 18:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209025#M8023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T18:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] HELP - HOW TO CHANGE DATE FORMAT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209026#M8024</link>
      <description>before converting string to date check for nullability and empty, that`s way you are getting this error, also check whether your date has time associate or not, you can check it by printing date on console.&amp;nbsp;</description>
      <pubDate>Mon, 20 Apr 2015 07:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209026#M8024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-20T07:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] HELP - HOW TO CHANGE DATE FORMAT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209027#M8025</link>
      <description>Hi umeshrakhe,&lt;BR /&gt;This is the structure of my tMap:&lt;BR /&gt;tMap inputRow &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ========&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tMap otputRow&lt;BR /&gt;&lt;B&gt;MM/dd/yyyy&lt;/B&gt;&amp;nbsp;(data is already in date type) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;B&gt; &amp;nbsp;dd/MM/yyyy &lt;/B&gt;(tMap row is in date type)&lt;BR /&gt;So &amp;nbsp;to answer you my data to transform are not in string format, and are from a file that i have already cheak.&lt;BR /&gt;So i have not empty row and all date are in this format: MM/dd/yyyy&lt;BR /&gt;Thank for help,&amp;nbsp;</description>
      <pubDate>Mon, 20 Apr 2015 08:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209027#M8025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-20T08:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] HELP - HOW TO CHANGE DATE FORMAT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209028#M8026</link>
      <description>Hi umeshrakhe,
&lt;BR /&gt;You are right in your post number 5:
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;if you want date in different format in tMap then use schema to mention desire output format.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;once you convert date, then change the output date format in schema column to "dd/MM/yyyy" Talend will do all the stuff for you. you don`t need to write anything else.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;I haved tried it first, it didn't work because the problem was in another side in the same tMap.
&lt;BR /&gt;So i focus in this case thinking that it is my error.
&lt;BR /&gt;Thank you all for help.&amp;nbsp;</description>
      <pubDate>Tue, 21 Apr 2015 13:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209028#M8026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-21T13:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] HELP - HOW TO CHANGE DATE FORMAT</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209029#M8027</link>
      <description>thank you for feedback.&amp;nbsp;</description>
      <pubDate>Tue, 21 Apr 2015 13:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-HELP-HOW-TO-CHANGE-DATE-FORMAT/m-p/2209029#M8027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-21T13:39:37Z</dc:date>
    </item>
  </channel>
</rss>

