<?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] How to parse date with single-digit month or year in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-parse-date-with-single-digit-month-or-year/m-p/2199005#M2101</link>
    <description>Doh! It was simple thoughtlessness on my part: I had swapped the "month" and "day" values in the pattern string, so of course it's going to fail when the "month" is over 12! Even sillier, I had dashes instead of slashes, so of course it didn't match. 
&lt;BR /&gt;Maybe I should go work on something else for a while...</description>
    <pubDate>Thu, 14 Oct 2010 20:23:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-10-14T20:23:04Z</dc:date>
    <item>
      <title>[resolved] How to parse date with single-digit month or year</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-parse-date-with-single-digit-month-or-year/m-p/2199004#M2100</link>
      <description>Trying to parse dates with a tFileInputDelimited and a date pattern of "dd-MM-yyyy HH:mm:ss", I am getting the error "Unparseable date: 8/13/1949 0:00:00". I assumed this was because the month is only a single digit instead of the expected two.
&lt;BR /&gt;So digging into the source code of ParserUtils.java and FastDateParser.java, it seems that my date pattern must be from java.text.SimpleDateFormat, which would suggest that it needs to be "d-M-yyyy H:mm:ss"... but that doesn't work either.
&lt;BR /&gt;Is there a better date pattern to use that will accept single or double-digit months/days/hours? Or do I need to find another way to parse these?</description>
      <pubDate>Sat, 16 Nov 2024 13:15:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-parse-date-with-single-digit-month-or-year/m-p/2199004#M2100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] How to parse date with single-digit month or year</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-parse-date-with-single-digit-month-or-year/m-p/2199005#M2101</link>
      <description>Doh! It was simple thoughtlessness on my part: I had swapped the "month" and "day" values in the pattern string, so of course it's going to fail when the "month" is over 12! Even sillier, I had dashes instead of slashes, so of course it didn't match. 
&lt;BR /&gt;Maybe I should go work on something else for a while...</description>
      <pubDate>Thu, 14 Oct 2010 20:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-How-to-parse-date-with-single-digit-month-or-year/m-p/2199005#M2101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-10-14T20:23:04Z</dc:date>
    </item>
  </channel>
</rss>

