<?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 tChronometerStop Readable Time in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tChronometerStop-Readable-Time/m-p/2217259#M12934</link>
    <description>Hi Guys 
&lt;BR /&gt;Spent a while working out a way to display the Job's Duration in Hours:minutes:seconds 
&lt;BR /&gt;This is the solution I found. 
&lt;BR /&gt;tChronometerStop_1 -- On Component Ok --&amp;gt; tJava 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="http://i54.tinypic.com/10mpg8g.jpg /&amp;gt;" /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="http://i52.tinypic.com/34o8xg4.jpg /&amp;gt;" /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;The Code to work out the time from milliseconds to HH:mm:ss is below: 
&lt;BR /&gt; 
&lt;PRE&gt;TalendDate.formatDate("HH:mm:ss", TalendDate.parseDate("ss", String.valueOf(((Long)globalMap.get("tChronometerStop_1_DURATION"))/1000)))&lt;/PRE&gt; 
&lt;BR /&gt;For Example: 
&lt;BR /&gt;tChronometerStop_1 puts out - 5000 
&lt;BR /&gt;After formatDate you get - 00:00:05 
&lt;BR /&gt;This can also be done by setting a startTime and endTime variable and use TalendDate.diffDate to work out the Job's duration 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Brandon 
&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;</description>
    <pubDate>Sat, 16 Nov 2024 12:58:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:58:53Z</dc:date>
    <item>
      <title>tChronometerStop Readable Time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tChronometerStop-Readable-Time/m-p/2217259#M12934</link>
      <description>Hi Guys 
&lt;BR /&gt;Spent a while working out a way to display the Job's Duration in Hours:minutes:seconds 
&lt;BR /&gt;This is the solution I found. 
&lt;BR /&gt;tChronometerStop_1 -- On Component Ok --&amp;gt; tJava 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="http://i54.tinypic.com/10mpg8g.jpg /&amp;gt;" /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;IMG src="http://i52.tinypic.com/34o8xg4.jpg /&amp;gt;" /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;The Code to work out the time from milliseconds to HH:mm:ss is below: 
&lt;BR /&gt; 
&lt;PRE&gt;TalendDate.formatDate("HH:mm:ss", TalendDate.parseDate("ss", String.valueOf(((Long)globalMap.get("tChronometerStop_1_DURATION"))/1000)))&lt;/PRE&gt; 
&lt;BR /&gt;For Example: 
&lt;BR /&gt;tChronometerStop_1 puts out - 5000 
&lt;BR /&gt;After formatDate you get - 00:00:05 
&lt;BR /&gt;This can also be done by setting a startTime and endTime variable and use TalendDate.diffDate to work out the Job's duration 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Brandon 
&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;</description>
      <pubDate>Sat, 16 Nov 2024 12:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tChronometerStop-Readable-Time/m-p/2217259#M12934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: tChronometerStop Readable Time</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tChronometerStop-Readable-Time/m-p/2217260#M12935</link>
      <description>Hi Brandon 
&lt;BR /&gt;Thanks for your job and experience! 
&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 15 Apr 2011 03:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tChronometerStop-Readable-Time/m-p/2217260#M12935</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-15T03:27:36Z</dc:date>
    </item>
  </channel>
</rss>

