<?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 tFTPFileProperties component mtime in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileProperties-component-mtime/m-p/2321952#M91940</link>
    <description>Hi All,&lt;BR /&gt;  the tFTPFileProperties component's mtime property gives only time. Is there a way to get both date &amp;amp; time?&lt;BR /&gt;example:&lt;BR /&gt; &lt;BR /&gt;System.out.print("Date "+new Date(input_row.mtime)+" ");&lt;BR /&gt;  result will be as below&lt;BR /&gt;Date Thu Jan 15 20:34:34 IST 1970&lt;BR /&gt;Here it takes default java's start date i.e 1970.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Manju</description>
    <pubDate>Sat, 16 Nov 2024 13:35:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T13:35:11Z</dc:date>
    <item>
      <title>tFTPFileProperties component mtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileProperties-component-mtime/m-p/2321952#M91940</link>
      <description>Hi All,&lt;BR /&gt;  the tFTPFileProperties component's mtime property gives only time. Is there a way to get both date &amp;amp; time?&lt;BR /&gt;example:&lt;BR /&gt; &lt;BR /&gt;System.out.print("Date "+new Date(input_row.mtime)+" ");&lt;BR /&gt;  result will be as below&lt;BR /&gt;Date Thu Jan 15 20:34:34 IST 1970&lt;BR /&gt;Here it takes default java's start date i.e 1970.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Manju</description>
      <pubDate>Sat, 16 Nov 2024 13:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPFileProperties-component-mtime/m-p/2321952#M91940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPFileProperties component mtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileProperties-component-mtime/m-p/2321953#M91941</link>
      <description>I think something like this:&lt;BR /&gt;TalendDate.parseDate("EEE MMM dd HH:mm:ss", DateVariableHere);&lt;BR /&gt;or&lt;BR /&gt;TalendDate.parseDate("EEE MMM dd HH:mm:ss","Jan 15 20:34:34");&lt;BR /&gt;I don't know how to get the year like you want. This website link may help:&lt;BR /&gt;DateFormat:&lt;BR /&gt;&lt;A href="http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html" rel="nofollow noopener noreferrer"&gt;http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html&lt;/A&gt;</description>
      <pubDate>Fri, 29 Jan 2010 07:38:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPFileProperties-component-mtime/m-p/2321953#M91941</guid>
      <dc:creator>talendtester</dc:creator>
      <dc:date>2010-01-29T07:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: tFTPFileProperties component mtime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFTPFileProperties-component-mtime/m-p/2321954#M91942</link>
      <description>mtime property has date value in milliseconds. When we use that value to get date, like Date dt = new Date(mtime); 
&lt;BR /&gt;We get both date &amp;amp; time, but the date will be default start date i.e. 1970. 
&lt;BR /&gt;the reason for this is mtime property has only time value in milliseconds. 
&lt;BR /&gt;my question is there a way to get both modifed date &amp;amp; time for a file? 
&lt;BR /&gt;thanks, 
&lt;BR /&gt; Manju</description>
      <pubDate>Fri, 29 Jan 2010 08:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFTPFileProperties-component-mtime/m-p/2321954#M91942</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-01-29T08:27:41Z</dc:date>
    </item>
  </channel>
</rss>

