<?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: Need Created Date of File; Not Modified (mtime) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Need-Created-Date-of-File-Not-Modified-mtime/m-p/2467523#M140910</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/276338"&gt;@SMurphy1703184287&lt;/a&gt;&amp;nbsp;Created Date: the date when the file is created or moved to a new folder.&amp;nbsp;&amp;nbsp;tFileProperties only returns the modified date, you can use this piece of Java code on tJava to get the created date.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Path file = Paths.get("D:/shong/out.txt");&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;BasicFileAttributes attr = Files.readAttributes(file, BasicFileAttributes.class);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;System.out.println("creationTime: " + attr.creationTime());&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;tJava's Advanced Settings tab:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;import java.nio.file.Files;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;import java.nio.file.Path;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;import java.nio.file.Paths;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;import java.nio.file.attribute.BasicFileAttributes;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-07-03_16-44-06.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168827iCEC0FAB2FEC46BA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-07-03_16-44-06.png" alt="2024-07-03_16-44-06.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2024 08:57:57 GMT</pubDate>
    <dc:creator>Shicong_Hong</dc:creator>
    <dc:date>2024-07-03T08:57:57Z</dc:date>
    <item>
      <title>Need Created Date of File; Not Modified (mtime)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-Created-Date-of-File-Not-Modified-mtime/m-p/2466937#M140898</link>
      <description>&lt;P&gt;I have a current job that grabs images from a folder and uploads them if their Modified date time is AFTER the last upload date.&amp;nbsp; Problem is... I have images with dates like this...&lt;/P&gt;
&lt;P&gt;Created Date: June 11, 2024&lt;/P&gt;
&lt;P&gt;Modified Date: May 20, 2024&lt;/P&gt;
&lt;P&gt;How is the Created Date AFTER the Modified Date?&amp;nbsp; Because of this - these images are not being caught.&amp;nbsp; I think the June 11th date is when the images are being copied into my shared folder; but May 20th is when the graphic was actually created and edited?&lt;/P&gt;
&lt;P&gt;I know tFileProperties will give me mtime - is there a "ctime" that tells me the created date/time?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2024 17:51:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-Created-Date-of-File-Not-Modified-mtime/m-p/2466937#M140898</guid>
      <dc:creator>SMurphy1703184287</dc:creator>
      <dc:date>2024-07-01T17:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need Created Date of File; Not Modified (mtime)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-Created-Date-of-File-Not-Modified-mtime/m-p/2467523#M140910</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/276338"&gt;@SMurphy1703184287&lt;/a&gt;&amp;nbsp;Created Date: the date when the file is created or moved to a new folder.&amp;nbsp;&amp;nbsp;tFileProperties only returns the modified date, you can use this piece of Java code on tJava to get the created date.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Path file = Paths.get("D:/shong/out.txt");&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;BasicFileAttributes attr = Files.readAttributes(file, BasicFileAttributes.class);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;System.out.println("creationTime: " + attr.creationTime());&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;tJava's Advanced Settings tab:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;import java.nio.file.Files;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;import java.nio.file.Path;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;import java.nio.file.Paths;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;import java.nio.file.attribute.BasicFileAttributes;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-07-03_16-44-06.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/168827iCEC0FAB2FEC46BA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-07-03_16-44-06.png" alt="2024-07-03_16-44-06.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Shicong&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 08:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-Created-Date-of-File-Not-Modified-mtime/m-p/2467523#M140910</guid>
      <dc:creator>Shicong_Hong</dc:creator>
      <dc:date>2024-07-03T08:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need Created Date of File; Not Modified (mtime)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-Created-Date-of-File-Not-Modified-mtime/m-p/2468525#M140931</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp; I haven't had time to try this out - but I think this is what I'm looking for!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jul 2024 20:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-Created-Date-of-File-Not-Modified-mtime/m-p/2468525#M140931</guid>
      <dc:creator>SMurphy1703184287</dc:creator>
      <dc:date>2024-07-07T20:01:49Z</dc:date>
    </item>
  </channel>
</rss>

