<?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: File date created in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361347#M125735</link>
    <description>Thank you, works perfectly.</description>
    <pubDate>Thu, 30 Apr 2009 10:39:19 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2009-04-30T10:39:19Z</dc:date>
    <item>
      <title>File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361335#M125723</link>
      <description>Hi,&lt;BR /&gt;I need to recover the created date of et file...&lt;BR /&gt;I don't find it on the forum ...&lt;BR /&gt;Thanks.&lt;BR /&gt;TIS 3.0.2.</description>
      <pubDate>Sat, 16 Nov 2024 13:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361335#M125723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361336#M125724</link>
      <description>hi,&lt;BR /&gt;I think that you should use tFileProperties (file/management) componenent to get this information&lt;BR /&gt;regards&lt;BR /&gt;laurent</description>
      <pubDate>Tue, 21 Apr 2009 15:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361336#M125724</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-21T15:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361337#M125725</link>
      <description>it is the modification date I need the creation date...
&lt;BR /&gt;thanks</description>
      <pubDate>Tue, 21 Apr 2009 16:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361337#M125725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-21T16:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361338#M125726</link>
      <description>on which OS are you working ?
&lt;BR /&gt;On *nix date creation file isn't store on the system i think !
&lt;BR /&gt;only modification date can be access for a file ; so when you create a file it means a "modification" of a file (its creation) 
&lt;BR /&gt;you 've got 
&lt;A href="http://frban.club.fr/prog/creationdate.html" target="_blank" rel="nofollow noopener noreferrer"&gt;this article&lt;/A&gt; (french one) about date creation file .
&lt;BR /&gt;hope its help you
&lt;BR /&gt;laurent</description>
      <pubDate>Tue, 21 Apr 2009 23:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361338#M125726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-21T23:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361339#M125727</link>
      <description>Well, 
&lt;BR /&gt;The modification date should be enough... 
&lt;BR /&gt;So I have another probleme, this is my routine: 
&lt;BR /&gt;public static Date modifDate(String chemin) 
&lt;BR /&gt; { 
&lt;BR /&gt; File f = new File(chemin); 
&lt;BR /&gt; Date lastModify= new Date (f.lastModified()); 
&lt;BR /&gt; 
&lt;BR /&gt; return lastModify; 
&lt;BR /&gt; } 
&lt;BR /&gt; 
&lt;BR /&gt;I have an error on the word file... 
&lt;BR /&gt;The auto-completion doesn't give a class like util.io.file ....??? 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Witch class I have to use in talend ??? 
&lt;BR /&gt;TIS 3.0.2 r 20205 
&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 22 Apr 2009 09:34:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361339#M125727</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-22T09:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361340#M125728</link>
      <description>hi,&lt;BR /&gt;ypu have to  import it in your routine .&lt;BR /&gt;++</description>
      <pubDate>Wed, 22 Apr 2009 10:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361340#M125728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-22T10:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361341#M125729</link>
      <description>OK thanks,
&lt;BR /&gt;Other one ...sorry.
&lt;BR /&gt;I have my date in long format HOW can I have a String with the format yyyyMM ???
&lt;BR /&gt;In my routine I have the date at date format with:
&lt;BR /&gt;Date lastModify= new Date (date_long); 
&lt;BR /&gt;But how to have a string format with yyyyMM ??</description>
      <pubDate>Wed, 22 Apr 2009 11:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361341#M125729</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-22T11:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361342#M125730</link>
      <description>I think you have to use the TalendDate routines method formatDate(String pattern, java.util.Date date).where pattern is your format date (yyyyMM) 
&lt;BR /&gt;you can have a look in code source Routines-&amp;gt;System-&amp;gt;TalendDate for more details. 
&lt;BR /&gt;You can use it directly in your own routine or with you return "lastModify" value. 
&lt;BR /&gt;But you can also do it directly with Talend's component. 
&lt;BR /&gt;++</description>
      <pubDate>Wed, 22 Apr 2009 12:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361342#M125730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-22T12:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361343#M125731</link>
      <description>here simple example using Talend Component&lt;BR /&gt;tFileProperties ----main----&amp;gt;tFilterColumn ----main----&amp;gt;tJavaRow&lt;BR /&gt;in your schema tFilterColumn keep just mtime (long) for your application&lt;BR /&gt;in tJavaRow catch the input row ; set to a type date and format in yyyyMM&lt;BR /&gt;&lt;PRE&gt;java.util.Date date = new java.util.Date(input_row.mtime);&lt;BR /&gt;System.out.println(TalendDate.formatDate("yyyyMM",date));&lt;BR /&gt;// or in one 'shoot' :&lt;BR /&gt;// System.out.println(TalendDate.formatDate("yyyyMM",new java.util.Date(input_row.mtime)));&lt;/PRE&gt;&lt;BR /&gt;for result&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt; connected&lt;BR /&gt;200904&lt;BR /&gt; disconnected&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;regards&lt;BR /&gt;laurent</description>
      <pubDate>Wed, 22 Apr 2009 13:46:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361343#M125731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-22T13:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361344#M125732</link>
      <description>Thanks a lot,
&lt;BR /&gt;i find a different way with a routines and using the file path:
&lt;BR /&gt;public static String monthDate(String chemin)
&lt;BR /&gt; { 
&lt;BR /&gt; File f = new File(chemin);
&lt;BR /&gt; Date lastModify= new Date (f.lastModified()); 
&lt;BR /&gt; 
&lt;BR /&gt; SimpleDateFormat formatDateJour = new SimpleDateFormat("MM"); 
&lt;BR /&gt; String dateFormatee = formatDateJour.format(lastModify); 
&lt;BR /&gt; return dateFormatee; 
&lt;BR /&gt; }</description>
      <pubDate>Wed, 22 Apr 2009 14:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361344#M125732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-22T14:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361345#M125733</link>
      <description>Hi
&lt;BR /&gt;I am trying to do something similar
&lt;BR /&gt;Simple TfileList --&amp;gt; TfileProperties --&amp;gt; TJavaRow
&lt;BR /&gt;In the javarow I have the following code:
&lt;BR /&gt;System.out.println("mtime = "+row2.mtime + " Converted date = " + TalendDate.formatDate("yyyy/mm/dd",new java.util.Date(row2.mtime)) + " row2.mtime_string = " + row2.mtime_string); 
&lt;BR /&gt;The output for the converted date is however invalid and does not match the mtime_string:
&lt;BR /&gt;mtime = 1240347490000 Converted date = 2009/58/21 row2.mtime_string = Tue Apr 21 22:58:10 SAST 2009
&lt;BR /&gt;mtime = 1240261066000 Converted date = 2009/57/20 row2.mtime_string = Mon Apr 20 22:57:46 SAST 2009
&lt;BR /&gt;mtime = 1240261102000 Converted date = 2009/58/20 row2.mtime_string = Mon Apr 20 22:58:22 SAST 2009
&lt;BR /&gt;mtime = 1240261130000 Converted date = 2009/58/20 row2.mtime_string = Mon Apr 20 22:58:50 SAST 2009
&lt;BR /&gt;mtime = 1240261158000 Converted date = 2009/59/20 row2.mtime_string = Mon Apr 20 22:59:18 SAST 2009
&lt;BR /&gt;mtime = 1240261184000 Converted date = 2009/59/20 row2.mtime_string = Mon Apr 20 22:59:44 SAST 2009
&lt;BR /&gt;mtime = 1240347526000 Converted date = 2009/58/21 row2.mtime_string = Tue Apr 21 22:58:46 SAST 2009
&lt;BR /&gt;mtime = 1240347558000 Converted date = 2009/59/21 row2.mtime_string = Tue Apr 21 22:59:18 SAST 2009
&lt;BR /&gt;mtime = 1240347584000 Converted date = 2009/59/21 row2.mtime_string = Tue Apr 21 22:59:44 SAST 2009
&lt;BR /&gt;Any help would be appreciated
&lt;BR /&gt;Andre</description>
      <pubDate>Wed, 29 Apr 2009 12:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361345#M125733</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-04-29T12:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361346#M125734</link>
      <description>Hello Andre
&lt;BR /&gt;change "yyyy/mm/dd" to "yyyy/MM/dd" 
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Thu, 30 Apr 2009 07:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361346#M125734</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-30T07:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361347#M125735</link>
      <description>Thank you, works perfectly.</description>
      <pubDate>Thu, 30 Apr 2009 10:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361347#M125735</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-04-30T10:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361348#M125736</link>
      <description>Hi kzone,
&lt;BR /&gt;I have a similar requirement, INPUT_ROW.mtime is returning the original file create date. similarly i need the last modified date of that particular file.
&lt;BR /&gt;Could you please let me know what is the method to retrieve the last modified date.
&lt;BR /&gt;Thanks in-advance!
&lt;BR /&gt;Regards,
&lt;BR /&gt;Chaitanya</description>
      <pubDate>Sat, 01 Apr 2017 20:05:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361348#M125736</guid>
      <dc:creator>Chaitanyas</dc:creator>
      <dc:date>2017-04-01T20:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: File date created</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361349#M125737</link>
      <description>Hi all,&lt;BR /&gt;I got the answer.&lt;BR /&gt;Thank you very much for this post. Its really help me a lot.&lt;BR /&gt;Especially thanks to kzone!!&lt;BR /&gt;Regards,&lt;BR /&gt;Chaitnaya</description>
      <pubDate>Sat, 01 Apr 2017 20:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-date-created/m-p/2361349#M125737</guid>
      <dc:creator>Chaitanyas</dc:creator>
      <dc:date>2017-04-01T20:28:10Z</dc:date>
    </item>
  </channel>
</rss>

