<?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: yesterday's date in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302801#M74744</link>
    <description>hi all, 
&lt;BR /&gt;Have you got public static Date addDate(Date date, int nb, String dateType) method in Routines TalendDate !? 
&lt;BR /&gt;because jvm seems dont' fnd it ... (bizarre 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Thu, 14 May 2009 13:08:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-05-14T13:08:22Z</dc:date>
    <item>
      <title>yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302798#M74741</link>
      <description>Hello ! 
&lt;BR /&gt;I'm using a variable nb_day which is equal to 0 for today, 1 for yesterday, 2 for the day before... 
&lt;BR /&gt;I'm creating files and I want the date to be in the file names, so that for today my file name would be : 
&lt;BR /&gt;"D:/talend/AAA_"+TalendDate.formatDate("yyyyMMdd",TalendDate.getCurrentDate())+".log" 
&lt;BR /&gt;How can I get yesterday's date and so on like I do for today and using my variable ? 
&lt;BR /&gt;(basically I'm trying to do "D:/talend/AAA_"+TalendDate.formatDate("yyyyMMdd",TalendDate.getCurrentDate() 
&lt;B&gt; - nb_day&lt;/B&gt;)+".log" but this is not working) 
&lt;BR /&gt;Thanks for your help ! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 13:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302798#M74741</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302799#M74742</link>
      <description>Use the "addDate" method :
&lt;BR /&gt;Date today = TalendDate.getCurrentDate();
&lt;BR /&gt;Date wantedDay = TalendDate.addDate(today, - nb_day, "dd");
&lt;BR /&gt;String logFileName = "D:/talend/AAA_" + TalendDate.formatDate("yyyyMMdd", wantedDay) + ".log";
&lt;BR /&gt;This code can be written in a single line :
&lt;BR /&gt;String logFileName = "D:/talend/AAA_" + TalendDate.formatDate("yyyyMMdd", TalendDate.addDate(TalendDate.getCurrentDate(), - nb_day, "dd")) + ".log";</description>
      <pubDate>Thu, 14 May 2009 12:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302799#M74742</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-14T12:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302800#M74743</link>
      <description>Thank bcourtine ! 
&lt;BR /&gt;However I get this error message : 
&lt;BR /&gt;The method addDate(Date, int, String) is undefined for the type TalendDate. 
&lt;BR /&gt;Any idea what I can do ? 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 14 May 2009 12:37:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302800#M74743</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-14T12:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302801#M74744</link>
      <description>hi all, 
&lt;BR /&gt;Have you got public static Date addDate(Date date, int nb, String dateType) method in Routines TalendDate !? 
&lt;BR /&gt;because jvm seems dont' fnd it ... (bizarre 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 14 May 2009 13:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302801#M74744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-14T13:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302802#M74745</link>
      <description>See the code I created for this and modify as needed to adding and subtracting on a day instead of a month. 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCp4lCAC" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/TalendDate-Question/td-p/99365&lt;/A&gt;, Here's the original code which gets the last day of the month for any month past or future. 
&lt;BR /&gt; 
&lt;BR /&gt; public static Date getLastDate(String pattern, int MonthAdd) { 
&lt;BR /&gt; Calendar now = Calendar.getInstance(); 
&lt;BR /&gt; now = Calendar.getInstance(); 
&lt;BR /&gt; now.add(Calendar.MONTH, MonthAdd); 
&lt;BR /&gt; String MyDate = (now.get(Calendar.YEAR) "-" 
&lt;BR /&gt; String.format("%02d",(now.get(Calendar.MONTH) 1)) "-" 
&lt;BR /&gt; now.getActualMaximum(Calendar.DATE)); 
&lt;BR /&gt; try { 
&lt;BR /&gt; return FastDateParser.getInstance(pattern).parse(MyDate); 
&lt;BR /&gt; } catch (ParseException e) { 
&lt;BR /&gt; throw new RuntimeException(e); 
&lt;BR /&gt; } 
&lt;BR /&gt;} 
&lt;BR /&gt;Yours should look like this, 
&lt;BR /&gt; public static Date getYesterDaysDate(String pattern, int DayAdd) { 
&lt;BR /&gt; Calendar now = Calendar.getInstance(); 
&lt;BR /&gt; now = Calendar.getInstance(); 
&lt;BR /&gt; now.add(Calendar.DATE, DaYAdd); 
&lt;BR /&gt; String MyDate = (now.get(Calendar.YEAR) "-" 
&lt;BR /&gt; String.format("%02d",(now.get(Calendar.MONTH))) "-" 
&lt;BR /&gt; now.get(Calendar.DATE)); 
&lt;BR /&gt; try { 
&lt;BR /&gt; return FastDateParser.getInstance(pattern).parse(MyDate); 
&lt;BR /&gt; } catch (ParseException e) { 
&lt;BR /&gt; throw new RuntimeException(e); 
&lt;BR /&gt; } 
&lt;BR /&gt;} 
&lt;BR /&gt;You would create your own code routine called something like YesterDaysDate and call this like this 
&lt;BR /&gt;YesterDaysDate.getYesterDaysDate("yyyy-MM-dd", -1) 
&lt;BR /&gt;That should do it, look at the TalendDate code for the imports... 
&lt;BR /&gt;Bluesin</description>
      <pubDate>Thu, 14 May 2009 14:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302802#M74745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-14T14:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302803#M74746</link>
      <description>I think the easiest way for me to do what I need is indeed to use addDate... where do I find this method and how do I add it to the routines ?</description>
      <pubDate>Thu, 14 May 2009 14:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302803#M74746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-14T14:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302804#M74747</link>
      <description>Hi Augustine, &lt;BR /&gt;I think that the TalendDate.addDate method wasn't available before TOS 3.1.0.&lt;BR /&gt;Which version do you have ?</description>
      <pubDate>Thu, 14 May 2009 15:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302804#M74747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-14T15:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302805#M74748</link>
      <description>I'm using version 3.0.3 but if you tell me that addDate is on TOS 3.1, I'll download the new version. 
&lt;BR /&gt;I hope it'll work, thank you ! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 14 May 2009 15:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302805#M74748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-14T15:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302806#M74749</link>
      <description>I think you're right kboop ... I 've a look in routine system of 3.0 ..and it wasn't there ! 
&lt;BR /&gt;So Augustine you've to upload to 3.1 but if you don't here the code to add to routines system : 
&lt;BR /&gt; 
&lt;PRE&gt;package routines;&lt;BR /&gt;import java.text.FieldPosition;&lt;BR /&gt;import java.text.ParseException;&lt;BR /&gt;import java.text.SimpleDateFormat;&lt;BR /&gt;import java.util.Calendar;&lt;BR /&gt;import java.util.Date;&lt;BR /&gt;import java.util.GregorianCalendar;&lt;BR /&gt;import routines.system.FastDateParser;&lt;BR /&gt;import routines.system.LocaleProvider;&lt;BR /&gt;.........&lt;BR /&gt;// code you have to add !!!&lt;BR /&gt;/**&lt;BR /&gt;     * add number of day, month ... to a date&lt;BR /&gt;     * &lt;BR /&gt;     * @param date (a &amp;lt;code&amp;gt;Date&amp;lt;/code&amp;gt; type value)&lt;BR /&gt;     * @param nb (the value to add)&lt;BR /&gt;     * @param dateType (date pattern = ("yyyy","MM","dd","HH","mm","ss","SSS" ))&lt;BR /&gt;     * @return a new date&lt;BR /&gt;     * &lt;BR /&gt;     * {talendTypes} Date&lt;BR /&gt;     * &lt;BR /&gt;     * {Category} TalendDate&lt;BR /&gt;     * &lt;BR /&gt;     * {param} date(myDate) date : the date to update&lt;BR /&gt;     * &lt;BR /&gt;     * {param} date(addValue) nb : the added value&lt;BR /&gt;     * &lt;BR /&gt;     * {param} date("MM") dateType : the part to add&lt;BR /&gt;     * &lt;BR /&gt;     * {examples}&lt;BR /&gt;     * &lt;BR /&gt;     * -&amp;gt;&amp;gt; addDate(2008/11/24 12:15:25, 5,"dd") return 2008/11/29 12:15:25&lt;BR /&gt;     * &lt;BR /&gt;     * -&amp;gt;&amp;gt; addDate(2008/11/24 12:15:25, 5,"yyyy")return 2013/11/25 12:15:25&lt;BR /&gt;     * &lt;BR /&gt;     * -&amp;gt;&amp;gt; addDate(2008/11/24 12:15:25, 5,"MM") return 2009/02/24 12:15:25&lt;BR /&gt;     * &lt;BR /&gt;     * -&amp;gt;&amp;gt; addDate(2008/11/24 12:15:25, 5,"ss") return 2008/11/24 12:15:30 #&lt;BR /&gt;     * &lt;BR /&gt;     */&lt;BR /&gt;    public static Date addDate(Date date, int nb, String dateType) {&lt;BR /&gt;        if (date == null || dateType == null) {&lt;BR /&gt;            return null;&lt;BR /&gt;        }&lt;BR /&gt;        Calendar c1 = Calendar.getInstance();&lt;BR /&gt;        c1.setTime(date);&lt;BR /&gt;        if (dateType.equalsIgnoreCase("yyyy")) { //$NON-NLS-1$&lt;BR /&gt;            c1.add(Calendar.YEAR, nb);&lt;BR /&gt;        } else if (dateType.equals("MM")) { //$NON-NLS-1$&lt;BR /&gt;            c1.add(Calendar.MONTH, nb);&lt;BR /&gt;        } else if (dateType.equalsIgnoreCase("dd")) { //$NON-NLS-1$&lt;BR /&gt;            c1.add(Calendar.DAY_OF_MONTH, nb);&lt;BR /&gt;        } else if (dateType.equals("HH")) { //$NON-NLS-1$&lt;BR /&gt;            c1.add(Calendar.HOUR, nb);&lt;BR /&gt;        } else if (dateType.equals("mm")) { //$NON-NLS-1$&lt;BR /&gt;            c1.add(Calendar.MINUTE, nb);&lt;BR /&gt;        } else if (dateType.equalsIgnoreCase("ss")) { //$NON-NLS-1$&lt;BR /&gt;            c1.add(Calendar.SECOND, nb);&lt;BR /&gt;        } else if (dateType.equalsIgnoreCase("SSS")) { //$NON-NLS-1$&lt;BR /&gt;            c1.add(Calendar.MILLISECOND, nb);&lt;BR /&gt;        } else {&lt;BR /&gt;            throw new RuntimeException("Can't support the dateType: " + dateType);&lt;BR /&gt;        }&lt;BR /&gt;        return c1.getTime();&lt;BR /&gt;    }&lt;/PRE&gt; 
&lt;BR /&gt;add this code in Code -&amp;gt; routine -&amp;gt; system -&amp;gt; TalendDate 
&lt;BR /&gt;++</description>
      <pubDate>Thu, 14 May 2009 15:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302806#M74749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-14T15:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302807#M74750</link>
      <description>Thank you very much, I've downloaded TOS 3.1.0 and now I can use addDate 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Just one thing though : 
&lt;BR /&gt;At first I thought I would do something like this : 
&lt;BR /&gt;"D:/talend/AAA_" + TalendDate.formatDate("yyyyMMdd", TalendDate.addDate(TalendDate.getCurrentDate(), 
&lt;B&gt;-context.nb_days&lt;/B&gt;, "dd")) + ".csv" 
&lt;BR /&gt;with nb_days being an integer, but this throws me a NullPointerException, so that I have to write the number of days directly in the file name. 
&lt;BR /&gt;"D:/talend/AAA_" + TalendDate.formatDate("yyyyMMdd", TalendDate.addDate(TalendDate.getCurrentDate(), 
&lt;B&gt;-1&lt;/B&gt;, "dd")) + ".csv" 
&lt;BR /&gt;and this way it's working. 
&lt;BR /&gt;Well it's not a big deal, I'm just wondering whether it can be done or not 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 14 May 2009 16:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302807#M74750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-14T16:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302808#M74751</link>
      <description>It's because you have to multiply your parameter by one instead of just add a minus sign in front of it : 
&lt;BR /&gt;-1 * context.nb_days should work 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Karine</description>
      <pubDate>Thu, 14 May 2009 17:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302808#M74751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-14T17:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302809#M74752</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;-1 * context.nb_days should work &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thanks for your answer ! Unfortunately it seems it doesn't work. 
&lt;BR /&gt;I'm still getting the NullPointerException.</description>
      <pubDate>Fri, 15 May 2009 08:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302809#M74752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-15T08:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302810#M74753</link>
      <description>Hello Augustine 
&lt;BR /&gt;Set a default value to context.nb_days, maybe 1. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 15 May 2009 08:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302810#M74753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-15T08:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302811#M74754</link>
      <description>I'm using v3.0.4 and am not able to modify the TalendDate system routine. Are there any special things I need to do to be able to modify it? Thanks.</description>
      <pubDate>Tue, 04 Aug 2009 21:47:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302811#M74754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-04T21:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302812#M74755</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I'm using v3.0.4 and am not able to modify the TalendDate system routine. Are there any special things I need to do to be able to modify it? Thanks.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;I don't think it is a good idea to modify the system routine directly. If you want to enhance it ,you can create a new routine, copy the code and modify it. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; shong</description>
      <pubDate>Wed, 05 Aug 2009 04:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302812#M74755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-08-05T04:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302813#M74756</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;String logFileName = "D:/talend/AAA_" + TalendDate.formatDate("yyyyMMdd", TalendDate.addDate(TalendDate.getCurrentDate(), - nb_day, "dd")) + ".log";&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 28 Apr 2016 12:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302813#M74756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-28T12:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: yesterday's date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302814#M74757</link>
      <description>&lt;P&gt;Thanks a lot. I did something similar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"F:/Talend/Work" + TalendDate.formatDate("MMddyyyy",TalendDate.addDate(TalendDate.getCurrentDate(), - 10, "dd"))+".csv"&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 16:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/yesterday-s-date/m-p/2302814#M74757</guid>
      <dc:creator>Tasfiahm</dc:creator>
      <dc:date>2018-09-28T16:13:37Z</dc:date>
    </item>
  </channel>
</rss>

