<?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 Date in Integer YYYYMM format in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Date-in-Integer-YYYYMM-format/m-p/2209445#M8266</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a situation;where my input column is an integer that holds Year and Month (YYYYMM). Now I need to now find the previous month for the incoming integer. The output column is also an integer.&lt;/P&gt;
&lt;P&gt;For ex:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;input_col (int)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; output_col (int)&lt;/P&gt;
&lt;P&gt;201811&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; 201810&lt;/P&gt;
&lt;P&gt;201901&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; 201812&lt;/P&gt;
&lt;P&gt;201906&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; 201905&lt;/P&gt;
&lt;P&gt;May I know how can do the same in tmap.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:08:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T07:08:06Z</dc:date>
    <item>
      <title>Date in Integer YYYYMM format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-in-Integer-YYYYMM-format/m-p/2209445#M8266</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a situation;where my input column is an integer that holds Year and Month (YYYYMM). Now I need to now find the previous month for the incoming integer. The output column is also an integer.&lt;/P&gt;
&lt;P&gt;For ex:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;input_col (int)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; output_col (int)&lt;/P&gt;
&lt;P&gt;201811&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; 201810&lt;/P&gt;
&lt;P&gt;201901&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; 201812&lt;/P&gt;
&lt;P&gt;201906&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; 201905&lt;/P&gt;
&lt;P&gt;May I know how can do the same in tmap.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-in-Integer-YYYYMM-format/m-p/2209445#M8266</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Date in Integer YYYYMM format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-in-Integer-YYYYMM-format/m-p/2209446#M8267</link>
      <description>&lt;PRE&gt;TalendDate.addDate(row1.input_col, "yyyyMM", -1, "MM")&lt;/PRE&gt;&lt;P&gt;you'll have to cast input_col to String to use this function&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 18:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-in-Integer-YYYYMM-format/m-p/2209446#M8267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-04T18:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Date in Integer YYYYMM format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Date-in-Integer-YYYYMM-format/m-p/2209447#M8268</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;HR /&gt;
 &lt;A href="https://community.qlik.com/s/profile/00539000005HwGQAA0"&gt;@evansdar&lt;/A&gt;&amp;nbsp;wrote:
 &lt;BR /&gt;
 &lt;PRE&gt;TalendDate.addDate(row1.input_col, "yyyyMM", -1, "MM")&lt;/PRE&gt;
 &lt;P&gt;you'll have to cast input_col to String to use this function&lt;/P&gt;
 &lt;HR /&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Thank you very much. Works like a charm...!!!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 01:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Date-in-Integer-YYYYMM-format/m-p/2209447#M8268</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-05T01:03:02Z</dc:date>
    </item>
  </channel>
</rss>

