<?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: get the day from a date with missing value in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228966#M20060</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I initially consider closed_al as a string because the file XML has "." as a missing value but i want that closed_at in output is date and day, month,... are integer. Can you help me please?? thanks!!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2017 22:51:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-05-26T22:51:51Z</dc:date>
    <item>
      <title>get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228957#M20051</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a problem. I'd like to extract the day froma a date but it will have missing value --&amp;gt; " ". &lt;SPAN&gt;How can I extract the day from dates that have no null values? Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228957#M20051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228958#M20052</link>
      <description>What's the input format and what did you try to do? Share, sample data and components configuration or piece of code.</description>
      <pubDate>Fri, 26 May 2017 17:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228958#M20052</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-26T17:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228959#M20053</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I have an xml file with a column named "closed_at" that contains null values ​​-&amp;gt; "" and date format. I would like to extract from this column the day and month of the date when there is a value. The output fields must be integer values.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;To extract the day I used this function:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Integer.parseInt (TalendDate.formatDate ( "dd", row1.closed_at))&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LusN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152191i2F838B37E97D87E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LusN.png" alt="0683p000009LusN.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Obviously now I am mistaken because it finds missing values ​​and can not extract anything. Output fields must be integer values.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As output I'd like to have 5 columns (day, month, year, hour and minute).&lt;/P&gt; 
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 19:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228959#M20053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-26T19:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228960#M20054</link>
      <description>&lt;P&gt;What is the datatype for close_at field and how is it formatted?&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 20:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228960#M20054</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-26T20:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228961#M20055</link>
      <description>It is a date with this format "yyyy-MM-dd'T'HH:mm:ss"&lt;BR /&gt;</description>
      <pubDate>Fri, 26 May 2017 20:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228961#M20055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-26T20:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228962#M20056</link>
      <description>&lt;P&gt;I just tried and get the expected result (TOS version 6.3.1).&lt;/P&gt; 
&lt;P&gt;My filed date is initialized using a tFixedFlowInput with the same format as yours:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LumM.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154771i0735FB7EE0897FC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LumM.png" alt="0683p000009LumM.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;The conversion is made using a tMap:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Luxr.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150777i3A69B3CB6460A2B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Luxr.png" alt="0683p000009Luxr.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I don't use variables as it is not mandatory in this case, but this is not the reason of your problem.&lt;/P&gt; 
&lt;P&gt;And the result:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lunf.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151005iB119B7C93C150D0B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lunf.png" alt="0683p000009Lunf.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;To check null value for the input date (fieldDate in my example), you can change the conversion like this:&lt;/P&gt; 
&lt;PRE&gt;row80.fieldDate != null ? Integer.parseInt(TalendDate.formatDate("yyyy",row80.fieldDate)) : null &lt;/PRE&gt; 
&lt;P&gt;Hope this helps.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 21:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228962#M20056</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-26T21:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228963#M20057</link>
      <description>&lt;P&gt;I have tried to do what you said, but Talend says that there is an error:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Exception in component tMap_1&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;My job is:&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-inline" image-alt="Immagine.png" style="width: 586px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Luw8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139810i9D1E1C3FF79ED8A4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Luw8.png" alt="0683p000009Luw8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine.png" style="width: 600px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lv91.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141084iC237A36E5B7447A5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lv91.png" alt="0683p000009Lv91.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine.png" style="width: 668px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvAI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139863iBC3A2286A4857DD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvAI.png" alt="0683p000009LvAI.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The missing value is signalled by "".&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My Process flow is: Import XML - Replace "." with "" for the "closed_at" (string)&amp;nbsp;values - Convert from string to date (closed_at) and then i want export a csv or db with 5 columns of day,month.... of the closed_at.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you again.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 21:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228963#M20057</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-26T21:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228964#M20058</link>
      <description>&lt;P&gt;If the&amp;nbsp;date from the XML file is a string, I suggest you to keep it as it, and same from dd, mm, yy, hh and mi field because csv is a text format, so you just can consider all fields as strings.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 22:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228964#M20058</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-26T22:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228965#M20059</link>
      <description>I initially consider closed_al as a string because the file XML has "." as a missing value but i want that closed_at in output is date and day, month,... are integer.
&lt;BR /&gt;</description>
      <pubDate>Fri, 26 May 2017 22:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228965#M20059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-26T22:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228966#M20060</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I initially consider closed_al as a string because the file XML has "." as a missing value but i want that closed_at in output is date and day, month,... are integer. Can you help me please?? thanks!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 22:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228966#M20060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-26T22:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228967#M20061</link>
      <description>In the exception message, you should have the line number corresponding to the line where the exception occurs.
&lt;BR /&gt;Go to the code tab in TOS, the go to the line number to know which instruction failed (and so, which field is null).</description>
      <pubDate>Sat, 27 May 2017 00:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228967#M20061</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-27T00:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228968#M20062</link>
      <description>&lt;P&gt;I have this exception message:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Exception in component tMap_1&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt;at l10001_servicenow_timeworked.l10001_sn_0_1.L10001_SN.tFileInputXML_1Process(L10001_SN.java:8684)&lt;BR /&gt;at l10001_servicenow_timeworked.l10001_sn_0_1.L10001_SN.runJobInTOS(L10001_SN.java:9674)&lt;BR /&gt;at l10001_servicenow_timeworked.l10001_sn_0_1.L10001_SN.main(L10001_SN.java:9531)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't see the line number!&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 00:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228968#M20062</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-27T00:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228969#M20063</link>
      <description>I would say line 8684 when processing 2nd of the XML file.&lt;BR /&gt;To be sure and to close the case, is it possible for you to send me an export of your job (right click on job name then export item) + the XML file?</description>
      <pubDate>Sat, 27 May 2017 05:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228969#M20063</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-27T05:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228970#M20064</link>
      <description>&lt;P&gt;It's very big. Can you tell me in which way I can export the day from a day only if this record is Empty???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example: &amp;nbsp;date1 -&amp;gt; 2017-05-27 11:30:15 &amp;nbsp; day -&amp;gt; 27 ....&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; date2 -&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;here nothing is stamp!&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 08:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228970#M20064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-27T08:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228971#M20065</link>
      <description>&lt;P&gt;Here are the date values I use as an example:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lv4b.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135182i4AE6C3745CA4A07F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lv4b.png" alt="0683p000009Lv4b.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;This give 2 record, 1 with a value, 1 which is null.&lt;/P&gt; 
&lt;P&gt;Here is the tMap to get the desired fields (yy, MM, dd and so on):&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Luyh.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148917i25FB534085060543/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Luyh.png" alt="0683p000009Luyh.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;The syntax I used for each field is based on this one:&lt;/P&gt; 
&lt;PRE&gt;row80.fieldDate != null ? Integer.parseInt(TalendDate.formatDate("yyyy", row80.fieldDate)) : null &lt;/PRE&gt; 
&lt;P&gt;When the input field is null, of fields on the output flow are null:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvAS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136708iC7B1FCEABC7137A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvAS.png" alt="0683p000009LvAS.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 09:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228971#M20065</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-27T09:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228972#M20066</link>
      <description>&lt;P&gt;HI,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I send you an example of my XML file with a date null.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1. I import all record as String except for integer and boolean;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvB1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143259iA5F42892CB279678/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvB1.png" alt="0683p000009LvB1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2. Replace "." with "":&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine.png" style="width: 915px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lunr.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150182iC56F294F30D9654C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lunr.png" alt="0683p000009Lunr.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;3. Convert String(closed_at and more datetype) in Date ("yyyy-MM-dd HH:mm:ss"):&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LuJ1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141046i46AD49C248E1397F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LuJ1.png" alt="0683p000009LuJ1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;4. Use tMap for extract the day, month.... from two date (closed_at and sys_updated_on), but closed_at may have null value ("") (see point 2). In this poit Talend give me the error even if I use your function (row1.closed_at != null ? Integer.parseInt(TalendDate.formatDate("dd", row1.closed_at)) : null ) &amp;nbsp; &amp;nbsp; :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LvBB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135081iBA6430C0087A74A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LvBB.png" alt="0683p000009LvBB.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-inline" image-alt="Immagine.png" style="width: 789px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lv3j.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131714i2F0C36D1EEA48CC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lv3j.png" alt="0683p000009Lv3j.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;this is all. Thanks again!&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 11:03:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228972#M20066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-27T11:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228973#M20067</link>
      <description>&lt;P&gt;The field&amp;nbsp;closed_at for the 2nd record is not null, it contains a ".".&lt;/P&gt;
&lt;P&gt;So you replace the "." by an empty string "" which is not the same than a null value.&lt;/P&gt;
&lt;P&gt;In tReplace, change "" by null and test again.&lt;/P&gt;
&lt;P&gt;If you prefer not to change the tReplace, change in tMap for each field (don't forget the "!" at the beginning of the line):&lt;/P&gt;
&lt;PRE&gt;!row80.fieldDate.equals("") ? Integer.parseInt(TalendDate.formatDate("yyyy",row80.fieldDate)) : null &lt;/PRE&gt;
&lt;P&gt;To be sure of which operation fails, click on the Code tab (on the bottom line of the designer workspace) and go to line 9037.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 12:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228973#M20067</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-27T12:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228974#M20068</link>
      <description>&lt;P&gt;Talend give me this error:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Execution failed : Job compile errors&lt;BR /&gt;At least job "L10001_SN" has a compile errors, please fix and export again.&lt;BR /&gt;Error Line: 7395&lt;BR /&gt;Detail Message: The method closed_at(String) is undefined for the type L10001_SN.row1Struct&lt;BR /&gt;There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;and the code contains:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Immagine.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lv5s.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146779i5CF68A10FF5E0967/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lv5s.png" alt="0683p000009Lv5s.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 13:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228974#M20068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-27T13:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228975#M20069</link>
      <description>&lt;P&gt;ok Thanks Thanks Thanks. It's all ok now!&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 13:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228975#M20069</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-27T13:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: get the day from a date with missing value</title>
      <link>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228976#M20070</link>
      <description>Great!&lt;BR /&gt;It was a pleasure for me to try to understand your case and to help you.</description>
      <pubDate>Sat, 27 May 2017 15:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/get-the-day-from-a-date-with-missing-value/m-p/2228976#M20070</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-05-27T15:08:38Z</dc:date>
    </item>
  </channel>
</rss>

