<?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] UnParseable Date format in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329766#M98923</link>
    <description>TalendDate.parseDate("dd-MMM-yy",&amp;lt;row.col&amp;gt;)</description>
    <pubDate>Thu, 06 Jan 2011 06:22:40 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2011-01-06T06:22:40Z</dc:date>
    <item>
      <title>[resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329754#M98911</link>
      <description>Can someone get me right date format pattern for the below date style. I get this format in my XML feed and find a right pattern.&lt;BR /&gt; "2013-09-26T00:00:00-05:00"&lt;BR /&gt; "2014-09-26T00:00:00-05:00"&lt;BR /&gt; "2015-09-26T00:00:00-05:00"&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 16 Nov 2024 13:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329754#M98911</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329755#M98912</link>
      <description>Any suggestions would be really helpful. I tried few possibilities and all throws up errors.</description>
      <pubDate>Wed, 03 Feb 2010 18:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329755#M98912</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2010-02-03T18:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329756#M98913</link>
      <description>San Solai,
&lt;BR /&gt;The date format is the following: yyyy-MM-ddThh:mm:ssz
&lt;BR /&gt;Most probably it is a GMT time zone.
&lt;BR /&gt;Hour could be different, it might be HH for example, so you need to check your specifications.
&lt;BR /&gt;More information can be found in this link: 
&lt;A href="http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html" rel="nofollow noopener noreferrer"&gt;http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html&lt;/A&gt;</description>
      <pubDate>Wed, 03 Feb 2010 19:39:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329756#M98913</guid>
      <dc:creator>Serpico</dc:creator>
      <dc:date>2010-02-03T19:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329757#M98914</link>
      <description>I tried that option it doesn't work. I used this "yyyy-MM-dd'T'hh:mm:ssz" (you need single quotes for 'T'), but throws &lt;BR /&gt;Unparseable date: "2006-12-29T00:00:00-06:00"    I think the timezone is the culprit, the date format I have does not specify any timezone like "GMT" or others. &lt;BR /&gt;The document says, "z" can be applied to &lt;BR /&gt;z  	Time zone 	General time zone  	Pacific Standard Time; PST; GMT-08:00&lt;BR /&gt;Z 	Time zone 	RFC 822 time zone 	-0800</description>
      <pubDate>Wed, 03 Feb 2010 21:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329757#M98914</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2010-02-03T21:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329758#M98915</link>
      <description>I finally got this to working using Java, by adding the TimeZone(GMT) string to the date string and then apply the date conversion.&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 03 Feb 2010 21:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329758#M98915</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2010-02-03T21:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329759#M98916</link>
      <description>Hi All,
&lt;BR /&gt;I tried converting the values from StringToDate with the following code in order to convert values from String format say example 2009-04-26T00:00:00-05:00 GMT to Date through Talend. I have very little work experience in Java.
&lt;BR /&gt;I used the following code in tMap expression to convert the values from String to specify Date format "yyyy-MM-dd'T'hh:mm:ss z"
&lt;BR /&gt;Code:
&lt;BR /&gt;-------
&lt;BR /&gt;DateFormat df = new SimpleDateFormat("yyyy-MM-dd'T'hh:mm:ss z"); 
&lt;BR /&gt;try
&lt;BR /&gt;{ 
&lt;BR /&gt;Date today = df.parse(row1.Date_TimeZone); 
&lt;BR /&gt;System.out.println(df.format(today)); 
&lt;BR /&gt;} catch (ParseException e) 
&lt;BR /&gt;{ 
&lt;BR /&gt;e.printStackTrace(); 
&lt;BR /&gt;}
&lt;BR /&gt;It throws an error as DateFormat cannot be resolved
&lt;BR /&gt;My source is a flatfile which holds the data and my target is a relational table.
&lt;BR /&gt;Any input is appreciated
&lt;BR /&gt;Thanks in Advance
&lt;BR /&gt;Naju</description>
      <pubDate>Thu, 25 Feb 2010 06:38:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329759#M98916</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-25T06:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329760#M98917</link>
      <description>Hi Naju,
&lt;BR /&gt;You don't need to use the SimpleDateFormat class. You can use the embedded TalendDate class for that:
&lt;BR /&gt;
&lt;PRE&gt;try&lt;BR /&gt;{ &lt;BR /&gt;Date today = TalendDate.parseDate("yyyy-MM-dd'T'hh:mm:ss z", row1.Date_TimeZone);&lt;BR /&gt;//for testing purposes&lt;BR /&gt;System.out.println(today.toString());&lt;BR /&gt;} catch (ParseException e)&lt;BR /&gt;{&lt;BR /&gt;e.printStackTrace();&lt;BR /&gt;}&lt;/PRE&gt;
&lt;BR /&gt;Regards,
&lt;BR /&gt;Rabih Dagher</description>
      <pubDate>Thu, 25 Feb 2010 17:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329760#M98917</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-25T17:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329761#M98918</link>
      <description>Hi Rabih,&lt;BR /&gt;Thanks for your valuable response&lt;BR /&gt;When I substituted my with yours code. &lt;BR /&gt;TALEND GENERATED CODE:&lt;BR /&gt;Var.TimeZone = try&lt;BR /&gt;{&lt;BR /&gt;Date today = TalendDate.parseDate("yyyy-MM-dd'T'hh:mm:ss z", row1.Date_TimeZone);&lt;BR /&gt;System.out.println(today.toString());&lt;BR /&gt;}catch (ParseException e)&lt;BR /&gt;{&lt;BR /&gt;e.printStackTrace();&lt;BR /&gt;It's throwing me the following error&lt;BR /&gt;ERROR:&lt;BR /&gt;syntax error on token(s) misplaced construct(s).&lt;BR /&gt;I tried to find out the answers for this error in many blogs but it really did not help me&lt;BR /&gt;Thanks&lt;BR /&gt;Naju</description>
      <pubDate>Fri, 26 Feb 2010 05:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329761#M98918</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-26T05:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329762#M98919</link>
      <description>Naju,
&lt;BR /&gt;Can you post some pictures of your job? 
&lt;BR /&gt;If you are doing it in a tMap, I would suggest you do it without the try/catch statement, and use directly the statement TalendDate.parseDate("yyyy-MM-dd'T'hh:mm:ss z", row1.Date_TimeZone);
&lt;BR /&gt;Where exactly in your code you are doing this?</description>
      <pubDate>Fri, 26 Feb 2010 16:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329762#M98919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-26T16:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329763#M98920</link>
      <description>Hi Rdagher, 
&lt;BR /&gt;I handled that expression in tMap component. I also changed the code by removing try and catch exception retaining TalendDate.parseDate function. 
&lt;BR /&gt;"TalendDate.parseDate("yyyy-MM-dd'T'hh:mm:ss z", row1.Date_TimeZone); " 
&lt;BR /&gt;Please see the screenshots. 
&lt;BR /&gt;Thanks for the reply. Hoping for a solution 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Naju</description>
      <pubDate>Mon, 01 Mar 2010 09:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329763#M98920</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-01T09:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329764#M98921</link>
      <description>Naju, 
&lt;BR /&gt;Try removing the ; from your expression. 
&lt;BR /&gt;Note: you also have to make sure that your row1.Date_TimeZone follows that exact time pattern. 
&lt;BR /&gt;Can you post an example of a row1.Date_TimeZone value that you are using?</description>
      <pubDate>Mon, 01 Mar 2010 20:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329764#M98921</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-01T20:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329765#M98922</link>
      <description>Hi,&lt;BR /&gt;     I am using file delimited txt file  and made a row map with db connection using tmap.&lt;BR /&gt;I have on column of data type string  contains value like this "28-OCT-10" &lt;BR /&gt;so my query is how can i parse it to valid date format &lt;BR /&gt;to be inserted into the database</description>
      <pubDate>Wed, 05 Jan 2011 12:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329765#M98922</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-01-05T12:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329766#M98923</link>
      <description>TalendDate.parseDate("dd-MMM-yy",&amp;lt;row.col&amp;gt;)</description>
      <pubDate>Thu, 06 Jan 2011 06:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329766#M98923</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-01-06T06:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329767#M98924</link>
      <description>Hi I am getting Unparseable date: "Start_Date__c". 
&lt;BR /&gt;And in failure file I am getting 
&lt;BR /&gt; '09/09/2011' is not a valid value for the type xsd:date 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;tart_Date__c -- 
&lt;BR /&gt;this error please help me</description>
      <pubDate>Wed, 30 Apr 2014 15:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329767#M98924</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-30T15:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329768#M98925</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Can someone get me right date format pattern for the below date style. I get this format in my XML feed and find a right pattern.&lt;BR /&gt; "2013-09-26T00:00:00-05:00"&lt;BR /&gt; "2014-09-26T00:00:00-05:00"&lt;BR /&gt; "2015-09-26T00:00:00-05:00"&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;I use pattern "yyyy-MM-dd'T'HH:mm:ss.SSSXXX" for XML date with miliseconds and timezone, without miliseconds it should be "yyyy-MM-dd'T'HH:mm:ssXXX"</description>
      <pubDate>Tue, 07 Oct 2014 11:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329768#M98925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-07T11:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] UnParseable Date format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329769#M98926</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have tried all the suggestions from the comments&amp;nbsp; and still facing the issue.&lt;/P&gt;
&lt;P&gt;I am getting the DateTime values from xml as (2019-01-13T11:35:28-05:00).&lt;/P&gt;
&lt;P&gt;Unable to load this value directly, when loaded as string unable to convert this value from stringToDate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please suggest a solution or date pattern for this kind of value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 01:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-UnParseable-Date-format/m-p/2329769#M98926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-04T01:35:20Z</dc:date>
    </item>
  </channel>
</rss>

