<?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] Is it possible to use tloop to loop from a start date thru end date? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225497#M17783</link>
    <description>Hi Shong, 
&lt;BR /&gt;IO am still having issues setting this up. I have set up global var - start_date ("2009-01-01" ) and end_date("2009-12-31") but I cannot seem to get the tloop working correctly. 
&lt;BR /&gt;I have included screen shot of what I have. 
&lt;BR /&gt;Can you provide more detail? 
&lt;BR /&gt;Thanks</description>
    <pubDate>Mon, 07 Mar 2011 19:05:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-03-07T19:05:37Z</dc:date>
    <item>
      <title>[resolved] Is it possible to use tloop to loop from a start date thru end date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225495#M17781</link>
      <description>Hi,&lt;BR /&gt;I need to run a trunjob component setting up a context variable to a date - from 1/1/2010 thru 1/31/2010. &lt;BR /&gt;Is it possible to use the tloop component ot set the start date and loop by one day until end date is reached?&lt;BR /&gt;If not how could I achieve this ?&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Sat, 16 Nov 2024 13:03:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225495#M17781</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Is it possible to use tloop to loop from a start date thru end date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225496#M17782</link>
      <description>Hello
&lt;BR /&gt;Set two context variables, start date and end date, use TalendDate.diffDate(Date date1, Date date2) to get the time difference, set this time difference to the 'To' field of tLoop component.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 03 Mar 2011 06:31:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225496#M17782</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-03T06:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Is it possible to use tloop to loop from a start date thru end date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225497#M17783</link>
      <description>Hi Shong, 
&lt;BR /&gt;IO am still having issues setting this up. I have set up global var - start_date ("2009-01-01" ) and end_date("2009-12-31") but I cannot seem to get the tloop working correctly. 
&lt;BR /&gt;I have included screen shot of what I have. 
&lt;BR /&gt;Can you provide more detail? 
&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 07 Mar 2011 19:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225497#M17783</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-07T19:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Is it possible to use tloop to loop from a start date thru end date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225498#M17784</link>
      <description>Hi
&lt;BR /&gt;As I said, you need use TalendDate.diffDate(Date date1, Date date2) to get the time difference first. please see my screenshots.
&lt;BR /&gt;
&lt;PRE&gt;java.util.Date start_date=TalendDate.parseDate("yyyy-MM-dd", (String)globalMap.get("start_date"));&lt;BR /&gt;java.util.Date end_date=TalendDate.parseDate("yyyy-MM-dd", (String)globalMap.get("end_date"));&lt;BR /&gt;long l=TalendDate.diffDate(end_date, start_date);&lt;BR /&gt;globalMap.put("iterate", l);&lt;/PRE&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 08 Mar 2011 02:48:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225498#M17784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-08T02:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Is it possible to use tloop to loop from a start date thru end date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225499#M17785</link>
      <description>Thanks, Shong</description>
      <pubDate>Wed, 09 Mar 2011 18:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225499#M17785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-09T18:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Is it possible to use tloop to loop from a start date thru end date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225500#M17786</link>
      <description>And  you can get the date in your next component using&lt;BR /&gt;&lt;PRE&gt;TalendDate.addDate(TalendDate.parseDate("yyyy-MM-dd", (String)globalMap.get("start_date")),+((Integer)globalMap.get("tLoop_1_CURRENT_VALUE")),"dd")&lt;/PRE&gt;&lt;BR /&gt;&lt;I&gt;edit: I replace my question with the answer.&lt;/I&gt;</description>
      <pubDate>Thu, 12 Sep 2013 21:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225500#M17786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-12T21:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Is it possible to use tloop to loop from a start date thru end date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225501#M17787</link>
      <description>Created variation of this using a "While" loop. 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Fri, 18 Apr 2014 04:33:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225501#M17787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T04:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Is it possible to use tloop to loop from a start date thru end date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225502#M17788</link>
      <description>Thanks everyone for your input. This really helped me !!</description>
      <pubDate>Tue, 24 Jun 2014 18:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225502#M17788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-24T18:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Is it possible to use tloop to loop from a start date thru end date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225503#M17789</link>
      <description>I know this is an old thread. Could anyone help me with screenshots? 
&lt;BR /&gt;I am not able to see any screenshots in this thread. 
&lt;BR /&gt;I want to accomplish something similar. Check below thread 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vClacCAC" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/resolved-Iterate-over-different-dates-using-date-in-SQL-query/td-p/80070&lt;/A&gt;</description>
      <pubDate>Tue, 27 Jan 2015 02:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225503#M17789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-27T02:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Is it possible to use tloop to loop from a start date thru end date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225504#M17790</link>
      <description>Here are the links: 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/55233/132833_Screen" target="_blank"&gt;http://www.talendforge.org/forum/img/members/55233/132833_Screen%20Shot%202014-04-17%20at%208.31.57%20PM.png&lt;/A&gt; 
&lt;BR /&gt; 
&lt;FONT color="#333333"&gt;&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/55233/132833_Screen" target="_blank"&gt;http://www.talendforge.org/forum/img/members/55233/132833_Screen%20Shot%202014-04-17%20at%208.32.05%20PM.png&lt;/A&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#333333"&gt;&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/55233/132833_Screen" target="_blank"&gt;http://www.talendforge.org/forum/img/members/55233/132833_Screen%20Shot%202014-04-17%20at%208.32.12%20PM.png&lt;/A&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#333333"&gt;&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/55233/132833_Screen" target="_blank"&gt;http://www.talendforge.org/forum/img/members/55233/132833_Screen%20Shot%202014-04-17%20at%208.32.19%20PM.png&lt;/A&gt;&lt;/FONT&gt;</description>
      <pubDate>Tue, 13 Dec 2016 23:56:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Is-it-possible-to-use-tloop-to-loop-from-a-start-date/m-p/2225504#M17790</guid>
      <dc:creator>talendtester</dc:creator>
      <dc:date>2016-12-13T23:56:16Z</dc:date>
    </item>
  </channel>
</rss>

