<?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: how delete time from date in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286610#M60232</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;date source type datetime&amp;nbsp;&lt;STRONG&gt;'2010-10-16 00:00:00'&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp;i want&amp;nbsp; convert&amp;nbsp; to simple date&lt;STRONG&gt; '2010-10-16'&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;best regards&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtGG"&gt;date_want_out.PNG&lt;/A&gt;</description>
    <pubDate>Mon, 17 Sep 2018 11:01:53 GMT</pubDate>
    <dc:creator>hechmi</dc:creator>
    <dc:date>2018-09-17T11:01:53Z</dc:date>
    <item>
      <title>how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286601#M60223</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have a probleme to convert a date :&lt;/SPAN&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;2011-08-19&amp;nbsp; &amp;nbsp;15:00:10.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;SPAN&gt;in this format :&lt;/SPAN&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;&lt;SPAN&gt;2011-08-19&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to delete time from date&amp;nbsp;&lt;SPAN&gt;2011-08-19&amp;nbsp;&lt;STRIKE&gt;&lt;FONT color="#FF0000"&gt; 15:00:10.&lt;/FONT&gt;&lt;/STRIKE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2018 12:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286601#M60223</guid>
      <dc:creator>hechmi</dc:creator>
      <dc:date>2018-09-15T12:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286602#M60224</link>
      <description>&lt;P&gt;depend from what You have and what want to have:&lt;/P&gt;
&lt;P&gt;- is it string or date?&lt;/P&gt;
&lt;P&gt;- is target must be string or date?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;all around - formateDate/parseDate/substring&lt;/P&gt;
&lt;P&gt;all 3 function You can find in tMap build expression&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Sep 2018 09:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286602#M60224</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-09-16T09:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286603#M60225</link>
      <description>TalendDate.formatDate(pattern, date) is the function you want. If you want TalendDate.formatDate("yyyy-mm-dd", myDateColumn) should give you want you want.</description>
      <pubDate>Sun, 16 Sep 2018 19:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286603#M60225</guid>
      <dc:creator>rnathan2020</dc:creator>
      <dc:date>2018-09-16T19:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286604#M60226</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000067LRbAAM"&gt;@vapukov&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;thank you for your answer ,&lt;/P&gt;
&lt;P&gt;type of input is format date 'dd-MM-yyyy HH:mm:ss' i want to have in out&amp;nbsp; date but without time 'dd-MM-yyyy&lt;/P&gt;
&lt;P&gt;any help for this problme&amp;nbsp;&lt;/P&gt;
&lt;P&gt;best regards&lt;/P&gt;</description>
      <pubDate>Sun, 16 Sep 2018 21:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286604#M60226</guid>
      <dc:creator>hechmi</dc:creator>
      <dc:date>2018-09-16T21:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286605#M60227</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LOewAAG"&gt;@hechmi&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000067LRbAAM"&gt;@vapukov&lt;/A&gt;&lt;/P&gt; 
 &lt;P&gt;thank you for your answer ,&lt;/P&gt; 
 &lt;P&gt;type of input is format date 'dd-MM-yyyy HH:mm:ss' i want to have in out&amp;nbsp; date but without time 'dd-MM-yyyy&lt;/P&gt; 
 &lt;P&gt;any help for this problme&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;best regards&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;Hi, what I gave you was an example. You can ask for any format you want, keeping in mind how to represent it. &lt;A title="java date formats" href="http://tutorials.jenkov.com/java-date-time/parsing-formatting-dates.html" target="_self" rel="nofollow noopener noreferrer"&gt;Here is a link that might help&lt;/A&gt;. You can also google for java date format conversion.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Sep 2018 21:39:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286605#M60227</guid>
      <dc:creator>rnathan2020</dc:creator>
      <dc:date>2018-09-16T21:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286606#M60228</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOewAAG"&gt;@hechmi&lt;/A&gt;&amp;nbsp;do you know the type of data you are working with? Is it a String (text) or is it a Date (essentially a number representation of a date)? If you are not sure, can you take a screenshot of the schema you are using and post it. Without this information, it is not possible to tell you how to solve this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Sep 2018 22:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286606#M60228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-16T22:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286607#M60229</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;i have date_transaction&amp;nbsp; time in source data&amp;nbsp;&lt;STRONG&gt; 'dd-MM-yyyy hh:mm:ss'&lt;/STRONG&gt; 'input' i want will have date_transaction out put&amp;nbsp; without time&lt;STRONG&gt;&amp;nbsp;'dd-MM-yyyy'&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt; you can see&amp;nbsp; attached pic&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;best regards&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Ltbc"&gt;data_source_input.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtYE"&gt;date_want_out.PNG&lt;/A&gt;</description>
      <pubDate>Sun, 16 Sep 2018 22:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286607#M60229</guid>
      <dc:creator>hechmi</dc:creator>
      <dc:date>2018-09-16T22:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286608#M60230</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/005390000069GzoAAE"&gt;@rnathan&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;BR /&gt;TalendDate.formatDate(pattern, date) is the function you want. If you want TalendDate.formatDate("yyyy-mm-dd", myDateColumn) should give you want you want. 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;unfortunately - not always correct&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;formateDate return string
&lt;STRONG&gt; @return the formatted time string.

&lt;/STRONG&gt;&lt;/PRE&gt; 
&lt;P&gt;this is why we ask - what format of column&lt;/P&gt; 
&lt;P&gt;in some cases it not important, but in some could be&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;1) if it DateTime to Date, all what need todo - just use proper format in tMap&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="date_to_date.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0Gv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129037i712507E061A4885B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0Gv.png" alt="0683p000009M0Gv.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2) if it string to string - just use substring for first 10 characters &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;3) for proper datetime to date convertios, need use use construction like&lt;/P&gt; 
&lt;P&gt;TalendDate.parseDate("dd-MM-yyyy",TalendDate.formatDate("dd-MM-yyyy HH:mm:ss",myDate))&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Sep 2018 23:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286608#M60230</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-09-16T23:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286609#M60231</link>
      <description>&lt;P&gt;I get the impression that you are new to this. When I asked for the schema, I meant the column types. What you have given does not give me anymore clues to what you need. The only way this can be resolved for you is if you can let us know whether the date is stored as a String (text) or a Date (an object that holds dates). To check this, go to your source component and open up the schema for that. Take a screenshot and post it here. Once you do that an easy answer can be supplied&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 09:52:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286609#M60231</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-17T09:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286610#M60232</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;date source type datetime&amp;nbsp;&lt;STRONG&gt;'2010-10-16 00:00:00'&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp;i want&amp;nbsp; convert&amp;nbsp; to simple date&lt;STRONG&gt; '2010-10-16'&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;best regards&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtGG"&gt;date_want_out.PNG&lt;/A&gt;</description>
      <pubDate>Mon, 17 Sep 2018 11:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286610#M60232</guid>
      <dc:creator>hechmi</dc:creator>
      <dc:date>2018-09-17T11:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286611#M60233</link>
      <description>hi;
&lt;BR /&gt;thak you i resolt this problem ,
&lt;BR /&gt;i was modified in shema able source datetime --&amp;gt;date
&lt;BR /&gt;bst regards</description>
      <pubDate>Mon, 17 Sep 2018 11:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286611#M60233</guid>
      <dc:creator>hechmi</dc:creator>
      <dc:date>2018-09-17T11:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286612#M60234</link>
      <description>&lt;P&gt;OK, that tells me that your Talend data type/class was Date.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 11:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286612#M60234</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-17T11:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286613#M60235</link>
      <description>&lt;P&gt;hi &lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&lt;BR /&gt;i have other question&lt;BR /&gt;i try with this example inthis link but i have a problem i put screen&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="http://diethardsteiner.blogspot.com/2012/02/talend-open-studio-populating-date.html" target="_blank" rel="nofollow noopener noreferrer"&gt;http://diethardsteiner.blogspot.com/2012/02/talend-open-studio-populating-date.html&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtrV"&gt;erreur.PNG&lt;/A&gt;</description>
      <pubDate>Mon, 17 Sep 2018 12:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286613#M60235</guid>
      <dc:creator>hechmi</dc:creator>
      <dc:date>2018-09-17T12:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286614#M60236</link>
      <description>&lt;P&gt;Your code is trying to do something to an object which is null. You will need to show your actual code for this. I suspect that maybe you are not getting dates for every row.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 12:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286614#M60236</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-17T12:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: how delete time from date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286615#M60237</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;- is right&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;many functions - string, date, double fail with error if argument is null&lt;BR /&gt;so, You need check - all function what You have in tMap, and handle null for them&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 12:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-delete-time-from-date/m-p/2286615#M60237</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-09-17T12:27:20Z</dc:date>
    </item>
  </channel>
</rss>

