<?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] Date dans fichier de sortie in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Date-dans-fichier-de-sortie/m-p/2247165#M32437</link>
    <description>Hello,&lt;BR /&gt;in Talend 5Ican not put a date to the output file!&lt;BR /&gt;I tried:&lt;BR /&gt;context.path + "out.xls" + "(TalendDate.getCurrentDate (" YYYYMMDD HHmm "))"&lt;BR /&gt;I also tried to create a variable context.date but I do not know how to learn?&lt;BR /&gt;I tried to create a tJava with&lt;BR /&gt;context.timeStamp TalendDate.formatDate = ("yyyyMMdd_HHmmssSSS" TalendDate.getCurrentDate ());&lt;BR /&gt;then I put:&lt;BR /&gt;context.path + "outZ305.xls" + context.timeStamp&lt;BR /&gt;Errors ...</description>
    <pubDate>Fri, 14 Sep 2012 11:52:54 GMT</pubDate>
    <dc:creator>falco-</dc:creator>
    <dc:date>2012-09-14T11:52:54Z</dc:date>
    <item>
      <title>[resolved] Date dans fichier de sortie</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Date-dans-fichier-de-sortie/m-p/2247162#M32434</link>
      <description>Bonjour,&lt;BR /&gt;en Talend 5 je n'arrive pas à mettre une date au fichier de sortie !&lt;BR /&gt;J'ai essayé :&lt;BR /&gt;context.path +  "out.xls" + "(TalendDate.getCurrentDate("yyyyMMdd HHmm"))"&lt;BR /&gt;J'ai aussi essayé de créer une variable context.date  mais je ne sais pas comment la renseigner ?&lt;BR /&gt;Merci</description>
      <pubDate>Fri, 14 Sep 2012 10:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Date-dans-fichier-de-sortie/m-p/2247162#M32434</guid>
      <dc:creator>falco-</dc:creator>
      <dc:date>2012-09-14T10:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Date dans fichier de sortie</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Date-dans-fichier-de-sortie/m-p/2247163#M32435</link>
      <description>RE,&lt;BR /&gt;j'ai essayé de créer un tjava avec &lt;BR /&gt;context.timeStamp = TalendDate.formatDate("yyyyMMdd_HHmmssSSS",TalendDate.getCurrentDate());&lt;BR /&gt;puis j'ai mis :&lt;BR /&gt;context.path +  "outZ305.xls" + context.timeStamp&lt;BR /&gt;Erreurs ...&lt;BR /&gt;Merci</description>
      <pubDate>Fri, 14 Sep 2012 10:24:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Date-dans-fichier-de-sortie/m-p/2247163#M32435</guid>
      <dc:creator>falco-</dc:creator>
      <dc:date>2012-09-14T10:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Date dans fichier de sortie</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Date-dans-fichier-de-sortie/m-p/2247164#M32436</link>
      <description>Hi This is an English language forum. Please translate.</description>
      <pubDate>Fri, 14 Sep 2012 11:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Date-dans-fichier-de-sortie/m-p/2247164#M32436</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-09-14T11:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Date dans fichier de sortie</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Date-dans-fichier-de-sortie/m-p/2247165#M32437</link>
      <description>Hello,&lt;BR /&gt;in Talend 5Ican not put a date to the output file!&lt;BR /&gt;I tried:&lt;BR /&gt;context.path + "out.xls" + "(TalendDate.getCurrentDate (" YYYYMMDD HHmm "))"&lt;BR /&gt;I also tried to create a variable context.date but I do not know how to learn?&lt;BR /&gt;I tried to create a tJava with&lt;BR /&gt;context.timeStamp TalendDate.formatDate = ("yyyyMMdd_HHmmssSSS" TalendDate.getCurrentDate ());&lt;BR /&gt;then I put:&lt;BR /&gt;context.path + "outZ305.xls" + context.timeStamp&lt;BR /&gt;Errors ...</description>
      <pubDate>Fri, 14 Sep 2012 11:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Date-dans-fichier-de-sortie/m-p/2247165#M32437</guid>
      <dc:creator>falco-</dc:creator>
      <dc:date>2012-09-14T11:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Date dans fichier de sortie</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Date-dans-fichier-de-sortie/m-p/2247166#M32438</link>
      <description>Hello,&lt;BR /&gt;I forgot to add the variable in the context!&lt;BR /&gt;Thanks&lt;BR /&gt;ok with :&lt;BR /&gt;create a tJava with&lt;BR /&gt;context.timeStamp TalendDate.formatDate = ("yyyyMMdd_HHmmssSSS" TalendDate.getCurrentDate ());&lt;BR /&gt;then I put:&lt;BR /&gt;context.path + "outZ305.xls" + context.timeStamp</description>
      <pubDate>Fri, 14 Sep 2012 11:54:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Date-dans-fichier-de-sortie/m-p/2247166#M32438</guid>
      <dc:creator>falco-</dc:creator>
      <dc:date>2012-09-14T11:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Date dans fichier de sortie</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Date-dans-fichier-de-sortie/m-p/2247167#M32439</link>
      <description>Bonjour, 
&lt;BR /&gt;La première ligne n'a pas de sens sauf si tu veux écrire la chaine "(TalendDate.getCurrentDate("yyyyMMdd HHmm"))"; 
&lt;BR /&gt;Le deuxième essai fonctionne chez moi, sans contexte : 
&lt;PRE&gt;System.out.println(TalendDate.formatDate("yyyyMMdd_HHmmssSSS",TalendDate.getCurrentDate()));&lt;/PRE&gt; 
&lt;BR /&gt;affiche bien la date courante formattée comme demandée. Vérifie le type de ton contexte.timeStamp si tu tiens à la stocker dans le contexte, sinon fais simplement : 
&lt;BR /&gt; 
&lt;PRE&gt;context.path +  "out.xls" + TalendDate.formatDate("yyyyMMdd_HHmmssSSS",TalendDate.getCurrentDate())&lt;/PRE&gt; 
&lt;BR /&gt;EDIT : Arf, tout ça pour ça 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 14 Sep 2012 11:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Date-dans-fichier-de-sortie/m-p/2247167#M32439</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-14T11:54:41Z</dc:date>
    </item>
  </channel>
</rss>

