<?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 Converting date to string and Integer to String in TMAP in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Converting-date-to-string-and-Integer-to-String-in-TMAP/m-p/2298660#M71097</link>
    <description>Hi,&lt;BR /&gt;Could you some one advise on&amp;nbsp;Converting date to string and Integer to String in TMAP.&lt;BR /&gt;This conversion should happen only in Tmap but not with tconvertype ...&lt;BR /&gt;Thanks,</description>
    <pubDate>Sat, 16 Nov 2024 10:33:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:33:20Z</dc:date>
    <item>
      <title>Converting date to string and Integer to String in TMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-date-to-string-and-Integer-to-String-in-TMAP/m-p/2298660#M71097</link>
      <description>Hi,&lt;BR /&gt;Could you some one advise on&amp;nbsp;Converting date to string and Integer to String in TMAP.&lt;BR /&gt;This conversion should happen only in Tmap but not with tconvertype ...&lt;BR /&gt;Thanks,</description>
      <pubDate>Sat, 16 Nov 2024 10:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-date-to-string-and-Integer-to-String-in-TMAP/m-p/2298660#M71097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date to string and Integer to String in TMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-date-to-string-and-Integer-to-String-in-TMAP/m-p/2298661#M71098</link>
      <description>Hi, 
&lt;BR /&gt;You can use method&amp;nbsp; 
&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;String.valueOf()in tMap to c&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;onvert &amp;nbsp;Integer to String and&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;TalendDate.formatDate("yyyy-MM-dd",myDate) to convert&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;date to string.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Please take a look at my screenshots.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;FONT size="1"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEOi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141939iE5A6E40FB232ABC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEOi.png" alt="0683p000009MEOi.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 27 Jun 2016 04:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-date-to-string-and-Integer-to-String-in-TMAP/m-p/2298661#M71098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-27T04:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date to string and Integer to String in TMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-date-to-string-and-Integer-to-String-in-TMAP/m-p/2298662#M71099</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Please me on this below code. I have to change a date column to string type and the validate that whether it is valid date or not?&lt;/P&gt;&lt;P&gt;For validation it should come 0 or 1 a s output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwYW"&gt;Capture.PNG&lt;/A&gt;</description>
      <pubDate>Thu, 19 Sep 2019 05:39:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-date-to-string-and-Integer-to-String-in-TMAP/m-p/2298662#M71099</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-19T05:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date to string and Integer to String in TMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-date-to-string-and-Integer-to-String-in-TMAP/m-p/2298663#M71100</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQL4AAO"&gt;@shivapanchal&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You have specified that you want to convert a date column to String and then validate whether its date. First of all, if the input column is having date data type, it will be always succeed in validation. So I assume your query is to check whether an input string is date or not. If has to give 1 as output if its a date value and 0 if its not a date value.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please refer the below solution for this scenario.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 809px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Rf.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129205i37229F76537829F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Rf.png" alt="0683p000009M7Rf.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M67H.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141613i8B60CB9F7FB4053B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M67H.png" alt="0683p000009M67H.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The function is as shown below.&lt;/P&gt; 
&lt;PRE&gt;TalendDate.isDate(row1.data,"yyyy-MM-dd") ?"1":"0"&lt;/PRE&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2019 04:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-date-to-string-and-Integer-to-String-in-TMAP/m-p/2298663#M71100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-25T04:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date to string and Integer to String in TMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-date-to-string-and-Integer-to-String-in-TMAP/m-p/2298664#M71101</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Convert String to Date :&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;TalendDate.parseDate("yyyy-MM-dd",Var.date_string )&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Convert Int to Date :&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;TalendDate.parseDate("yyyyMMdd", Integer.toString(Var.date_int) )&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dates_Talend.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7Vv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137108i971F27A1DAF71004/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7Vv.png" alt="0683p000009M7Vv.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lwr3"&gt;Dates_Talend.png&lt;/A&gt;</description>
      <pubDate>Wed, 25 Sep 2019 14:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-date-to-string-and-Integer-to-String-in-TMAP/m-p/2298664#M71101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-25T14:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Converting date to string and Integer to String in TMAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Converting-date-to-string-and-Integer-to-String-in-TMAP/m-p/2298665#M71102</link>
      <description>&lt;P&gt;Can you also please confirm how to check the null in the same syntax? using formatDate.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 18:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Converting-date-to-string-and-Integer-to-String-in-TMAP/m-p/2298665#M71102</guid>
      <dc:creator>NewbieTalend</dc:creator>
      <dc:date>2020-03-24T18:22:21Z</dc:date>
    </item>
  </channel>
</rss>

