<?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 TRUNC() FUNCTION in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291887#M65023</link>
    <description>HIII... 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;i want to trunc() funtion on one of my columns in TMAP how do i call a routine on my col... 
&lt;BR /&gt;i mean is their any system routine which could handle this function........ 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Thanx in advance... 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;looking forward for a quick reply......</description>
    <pubDate>Sat, 16 Nov 2024 12:51:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T12:51:00Z</dc:date>
    <item>
      <title>TRUNC() FUNCTION</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291887#M65023</link>
      <description>HIII... 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;i want to trunc() funtion on one of my columns in TMAP how do i call a routine on my col... 
&lt;BR /&gt;i mean is their any system routine which could handle this function........ 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Thanx in advance... 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;looking forward for a quick reply......</description>
      <pubDate>Sat, 16 Nov 2024 12:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291887#M65023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: TRUNC() FUNCTION</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291888#M65024</link>
      <description>Hi 
&lt;BR /&gt;Do you want to use this function handle Date or numeric data? Can you give us an example to explain your request?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 22 Jun 2011 08:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291888#M65024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-22T08:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: TRUNC() FUNCTION</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291889#M65025</link>
      <description>yes.... its to handle a date... 
&lt;BR /&gt; 
&lt;BR /&gt;its like i have column which contains date and time i want only date not time and round it... (as trunc does it) 
&lt;BR /&gt; 
&lt;BR /&gt; DD-Mon-YYYY HH:MI 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;S is the format i want it to be dd-mm-yyyy 
&lt;BR /&gt; 
&lt;BR /&gt;regards</description>
      <pubDate>Wed, 22 Jun 2011 09:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291889#M65025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-22T09:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: TRUNC() FUNCTION</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291890#M65026</link>
      <description>I asked 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCqebCAC" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Archive/SCD-ways-of-loading-a-fact-and-dimensional-table-at-the-same/td-p/175848&lt;/A&gt; for such a method to be added to TalendDate, which was supposed to be in v4.2.0, but it hasn't been done yet 
&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;.</description>
      <pubDate>Thu, 23 Jun 2011 00:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291890#M65026</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-06-23T00:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: TRUNC() FUNCTION</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291891#M65027</link>
      <description>Hi,
&lt;BR /&gt;The problem is after truncating the date ,using Format or SimpleDateFormat in java,returning that date make again concatination of 00:00:00.The above java code is returning string,in date case we required string to date conversion again........
&lt;BR /&gt;The code mention below returns the date but with concatination of 00:00:00 by itself....
&lt;BR /&gt;
&lt;BR /&gt;public Date returnDate(Date dateTime)
&lt;BR /&gt; {
&lt;BR /&gt; SimpleDateFormat simpleDateFormat=new SimpleDateFormat("dd/MM/yyyy");
&lt;BR /&gt; 
&lt;BR /&gt; Format formatter=new SimpleDateFormat("dd/MM/yyyy");
&lt;BR /&gt; String sample=formatter.format(dateTime);
&lt;BR /&gt; try{
&lt;BR /&gt; Date d=simpleDateFormat.parse(sample);
&lt;BR /&gt; return d; //return date againwith hh:mm:ss concatination ,so no use of this function
&lt;BR /&gt; }
&lt;BR /&gt; catch (Exception e) {
&lt;BR /&gt;e.printStackTrace();
&lt;BR /&gt; }
&lt;BR /&gt; return null;//as it is successful it will not return null ,it return d 
&lt;BR /&gt; 
&lt;BR /&gt; }</description>
      <pubDate>Thu, 23 Jun 2011 06:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291891#M65027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-23T06:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: TRUNC() FUNCTION</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291892#M65028</link>
      <description>Any help in regard to this forum will be appreciated&lt;BR /&gt;&lt;BR /&gt;ThanQ</description>
      <pubDate>Thu, 23 Jun 2011 09:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291892#M65028</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-23T09:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: TRUNC() FUNCTION</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291893#M65029</link>
      <description>If you want a Date object as your output but with the time set to midnight, you can do it yourself with TalendDate.parseDate("dd/MM/yyyy",TalendDate.formatDate("dd/MM/yyyy",row1.newColumn)).&lt;BR /&gt;If you want a String object, you only need TalendDate.formatDate("dd-MM-yyyy",row1.newColumn).&lt;BR /&gt;And if you only want to output your Date to a file in the right format, just set the Date Pattern of the output schema to "dd-MM-yyyy".</description>
      <pubDate>Fri, 24 Jun 2011 06:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TRUNC-FUNCTION/m-p/2291893#M65029</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-06-24T06:28:22Z</dc:date>
    </item>
  </channel>
</rss>

