<?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: unable to convert Numeric field to a date. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/unable-to-convert-Numeric-field-to-a-date/m-p/2292654#M65708</link>
    <description>Hi, 
&lt;BR /&gt; For your case, what's the input source? I think it should be row1.myDate? In addition, the method formatDate(String, Date). I think you should TalendDate.parseDate(String pattern, String stringDate) method into consideration. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEgv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148961i356F6987FC299D96/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEgv.png" alt="0683p000009MEgv.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Thu, 20 Jun 2013 09:15:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-06-20T09:15:35Z</dc:date>
    <item>
      <title>unable to convert Numeric field to a date.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/unable-to-convert-Numeric-field-to-a-date/m-p/2292653#M65707</link>
      <description>Hi I am trying to convert an integer to a date format using tMap but I keep getting errors. 
&lt;BR /&gt;I am importing a csv file and one of the fields is a date field stored as a number. The first 4 numbers is the year the next 2 numbers the month and the last 2 numbers the day. 
&lt;BR /&gt;E.g. 20130607 would be June 7th of year 2013. I want to convert the number to a date format as follows 07/06/2013. 
&lt;BR /&gt;At moment I can't even cast to a date format. I tried TalendDate.formatDate("yyyyMMdd",myDate) but I get the error 'myDate cannot be resolved to a variable'?</description>
      <pubDate>Sat, 16 Nov 2024 11:59:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/unable-to-convert-Numeric-field-to-a-date/m-p/2292653#M65707</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: unable to convert Numeric field to a date.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/unable-to-convert-Numeric-field-to-a-date/m-p/2292654#M65708</link>
      <description>Hi, 
&lt;BR /&gt; For your case, what's the input source? I think it should be row1.myDate? In addition, the method formatDate(String, Date). I think you should TalendDate.parseDate(String pattern, String stringDate) method into consideration. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEgv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148961i356F6987FC299D96/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEgv.png" alt="0683p000009MEgv.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 20 Jun 2013 09:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/unable-to-convert-Numeric-field-to-a-date/m-p/2292654#M65708</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-20T09:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: unable to convert Numeric field to a date.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/unable-to-convert-Numeric-field-to-a-date/m-p/2292655#M65709</link>
      <description>Great thank you. I was trying to cast an int to a Date in the destination table, but I can see in your example you set the Date format in the source data. Many thanks.</description>
      <pubDate>Thu, 20 Jun 2013 23:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/unable-to-convert-Numeric-field-to-a-date/m-p/2292655#M65709</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-20T23:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: unable to convert Numeric field to a date.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/unable-to-convert-Numeric-field-to-a-date/m-p/2292656#M65710</link>
      <description>Hi, 
&lt;BR /&gt;If you want to convert Int to Date, please refer to this forum 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCtIDCA0" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/Int-to-Date/td-p/62918&lt;/A&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 21 Jun 2013 03:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/unable-to-convert-Numeric-field-to-a-date/m-p/2292656#M65710</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-21T03:42:03Z</dc:date>
    </item>
  </channel>
</rss>

