<?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 time difference in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/time-difference/m-p/2302032#M74062</link>
    <description>Hi,&lt;BR /&gt;I would like to find time dfference between  dbinput and current timestamp.  I want the difference in minuts.&lt;BR /&gt;My timestamp column in dbinput is date. &lt;BR /&gt;I am wondering how I can do it in talend.&lt;BR /&gt;Thanks.</description>
    <pubDate>Sat, 16 Nov 2024 12:36:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:36:16Z</dc:date>
    <item>
      <title>time difference</title>
      <link>https://community.qlik.com/t5/Talend-Studio/time-difference/m-p/2302032#M74062</link>
      <description>Hi,&lt;BR /&gt;I would like to find time dfference between  dbinput and current timestamp.  I want the difference in minuts.&lt;BR /&gt;My timestamp column in dbinput is date. &lt;BR /&gt;I am wondering how I can do it in talend.&lt;BR /&gt;Thanks.</description>
      <pubDate>Sat, 16 Nov 2024 12:36:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/time-difference/m-p/2302032#M74062</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: time difference</title>
      <link>https://community.qlik.com/t5/Talend-Studio/time-difference/m-p/2302033#M74063</link>
      <description>Hi 
&lt;BR /&gt;Using the built-in function, TalendDate.diffDate(Date date1, Date date2, String dateType), it return a long type, for exmaple:
&lt;BR /&gt;TalendDate.diffDate(row1.mydate, TalendDate.getCurrentDate(),"mm")
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 24 Oct 2011 02:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/time-difference/m-p/2302033#M74063</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-24T02:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: time difference</title>
      <link>https://community.qlik.com/t5/Talend-Studio/time-difference/m-p/2302034#M74064</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsnJAAS"&gt;@shong&lt;/A&gt;&amp;nbsp;This doesn't work if we want the difference in minutes i.e. "mm" format.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2019 18:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/time-difference/m-p/2302034#M74064</guid>
      <dc:creator>AmrapaliPatil</dc:creator>
      <dc:date>2019-07-12T18:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: time difference</title>
      <link>https://community.qlik.com/t5/Talend-Studio/time-difference/m-p/2302035#M74065</link>
      <description>&lt;A href="https://community.qlik.com/s/profile/00539000003YjvVAAS"&gt;@AmrapaliPatil&lt;/A&gt; 
&lt;BR /&gt;I just made a simple testing and I can confirm the function TalendDate.diffDate can get the difference in minutes. About your issue, I guess your timestamp data does not contains the time part, can you show an example what the dbinput component read from db? 
&lt;BR /&gt;Can you have a try to change the data type to datetime and test again? 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong 
&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jul 2019 11:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/time-difference/m-p/2302035#M74065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-18T11:02:30Z</dc:date>
    </item>
  </channel>
</rss>

