<?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: TalendDate.parse returns unexpected result in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221834#M15674</link>
    <description>It's because your pattern is wrong, for month use the MM and not the mm (mm is for minute) in your Pattern.
&lt;BR /&gt;Best regards.</description>
    <pubDate>Mon, 21 Apr 2008 12:32:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-04-21T12:32:38Z</dc:date>
    <item>
      <title>TalendDate.parse returns unexpected result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221829#M15669</link>
      <description>The following expression, 
&lt;BR /&gt;TalendDate.parseDate("yyyy-MMM-dd HH:mm:ss", "23-Mar-1979 23:59:59")
&lt;BR /&gt;gives me the output:
&lt;BR /&gt;Fri Jul 30 23:59:59 CET 28
&lt;BR /&gt;I wonder why is it giving me such an output.
&lt;BR /&gt;
&lt;BR /&gt;OS: Windows XP
&lt;BR /&gt;Current Locale: Sweden
&lt;BR /&gt;Talend ETL : 2.3.1</description>
      <pubDate>Sat, 16 Nov 2024 14:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221829#M15669</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.parse returns unexpected result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221830#M15670</link>
      <description>Hi Umair,
&lt;BR /&gt;You try to parse a Date with a String value but a wrong DatePattern.
&lt;BR /&gt;When you parseDate you need to have the same Pattern for your String value to parse in a Date object your data.
&lt;BR /&gt;Best regards;</description>
      <pubDate>Mon, 21 Apr 2008 10:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221830#M15670</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-21T10:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.parse returns unexpected result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221831#M15671</link>
      <description>Why does the above example not throw an exception?&lt;BR /&gt;Rgds</description>
      <pubDate>Mon, 21 Apr 2008 10:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221831#M15671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-21T10:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.parse returns unexpected result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221832#M15672</link>
      <description>Normally, it's throw an exception. 
&lt;BR /&gt;Maybe umair has not written the same expression that wrong result displayed. 
&lt;BR /&gt;Best regards,</description>
      <pubDate>Mon, 21 Apr 2008 11:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221832#M15672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-21T11:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.parse returns unexpected result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221833#M15673</link>
      <description>The example, TalendDate.parseDate("yyyy-MMM-dd HH:mm:ss", "23-Mar-1979 23:59:59") 
&lt;BR /&gt;is quoted in TalendDate routine comments. 
&lt;BR /&gt;But, now i changed the values and tried with the updated params: 
&lt;BR /&gt;TalendDate.parseDate("yyyy-mm-dd HH:mm:ss", "1979-04-11 23:59:59") 
&lt;BR /&gt;It now gives : 
&lt;BR /&gt;Thu Jan 11 23:59:59 CET 1979 
&lt;BR /&gt;The month is displayed as something else</description>
      <pubDate>Mon, 21 Apr 2008 11:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221833#M15673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-21T11:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.parse returns unexpected result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221834#M15674</link>
      <description>It's because your pattern is wrong, for month use the MM and not the mm (mm is for minute) in your Pattern.
&lt;BR /&gt;Best regards.</description>
      <pubDate>Mon, 21 Apr 2008 12:32:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221834#M15674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-21T12:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.parse returns unexpected result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221835#M15675</link>
      <description>yes, that worked.&lt;BR /&gt;Thanx for your help</description>
      <pubDate>Mon, 21 Apr 2008 12:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221835#M15675</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-21T12:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.parse returns unexpected result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221836#M15676</link>
      <description>Hi,&lt;BR /&gt;I have a date in following format.&lt;BR /&gt;Tue Nov 01 12:36:40 GMT+05:30 2011&lt;BR /&gt;I tried to parse it using following statement in tJava component&lt;BR /&gt;TalendDate.parseDate("yyyy-mm-dd HH:mm:ss",input_row.mtime_string);&lt;BR /&gt;This input_row.mtime_string string comes from tfileProperties.&lt;BR /&gt;It returns following exception &lt;BR /&gt;Exception in component tJavaRow_1&lt;BR /&gt;java.lang.RuntimeException: java.text.ParseException: Unparseable date: "Tue Nov 01 12:36:40 GMT+05:30 2011"&lt;BR /&gt;Whether am in missing something ?&lt;BR /&gt;Vaibhav</description>
      <pubDate>Tue, 01 Nov 2011 08:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221836#M15676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-01T08:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.parse returns unexpected result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221837#M15677</link>
      <description>Hi,
&lt;BR /&gt;Solution to above query is following expression.
&lt;BR /&gt;TalendDate.formatDate("yyyy-mm-dd hh:mm:ss",TalendDate.parseDate("EEE MMM dd HH:mm:ss Z yyyy","Tue Nov 01 12:36:40 GMT+05:30 2011"))
&lt;BR /&gt;Contributed by Diwakar Nahata.
&lt;BR /&gt;Thanks
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Tue, 01 Nov 2011 10:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221837#M15677</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-01T10:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.parse returns unexpected result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221838#M15678</link>
      <description>Hi All,&lt;BR /&gt;TalendDate.ParseDate function in Talend to convert into Date Data type returns date in date data type but the date patterns is something else which is unexpected .&lt;BR /&gt;for eg.&lt;BR /&gt;I want to convert following string into date data type.&lt;BR /&gt;TalendDate.ParseDate("MM/dd/yyyy","09/18/2013")&lt;BR /&gt;The Above function returns me the date in date data type but the format of that is like "18-SEP-2013"&lt;BR /&gt;I want the output in "MM/dd/yyyy" means "09/18/2013" formats only.&lt;BR /&gt;can anyone suggest me how to overcome  this issue.&lt;BR /&gt;Thank you in advance.&lt;BR /&gt;with kind regards,&lt;BR /&gt;Shailendra S.</description>
      <pubDate>Wed, 18 Sep 2013 16:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221838#M15678</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-18T16:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.parse returns unexpected result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221839#M15679</link>
      <description>Hi All,&lt;BR /&gt;TalendDate.ParseDate function in Talend to convert into Date Data type returns date in date data type but the date patterns is something else which is unexpected .&lt;BR /&gt;for eg.&lt;BR /&gt;I want to convert following string into date data type.&lt;BR /&gt;TalendDate.ParseDate("MM/dd/yyyy","09/18/2013")&lt;BR /&gt;The Above function returns me the date in date data type but the format of that is like "18-SEP-2013"&lt;BR /&gt;I want the output in "MM/dd/yyyy" means "09/18/2013" formats only.&lt;BR /&gt;can anyone suggest me how to overcome  this issue.&lt;BR /&gt;Thank you in advance.&lt;BR /&gt;with kind regards,&lt;BR /&gt;Shailendra S.</description>
      <pubDate>Thu, 19 Sep 2013 07:14:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221839#M15679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-19T07:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.parse returns unexpected result</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221840#M15680</link>
      <description>Hi 
&lt;BR /&gt;Which is your output component? It is tLogRow? What's the date pattern on the schema? Set the date pattern to the format such as "MM/dd/yyyy" according to your need. 
&lt;BR /&gt; 
&lt;BR /&gt;Shong 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC76.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142133i4D4B27CE9521842C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC76.png" alt="0683p000009MC76.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sun, 22 Sep 2013 04:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parse-returns-unexpected-result/m-p/2221840#M15680</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-22T04:09:13Z</dc:date>
    </item>
  </channel>
</rss>

