<?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: TMap - Date Format in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TMap-Date-Format/m-p/2244811#M30846</link>
    <description>&lt;P&gt;Hello ,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I just start to working with Talend Studio, its great .&lt;/P&gt; 
&lt;P&gt;I try to insert the Date in my output file in new column&amp;nbsp; with this var ( talendDate )&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="talenddate.JPG" style="width: 543px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9eW.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144212i4F8AAFCA7AEF0EDA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9eW.jpg" alt="0683p000009M9eW.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;but i have an error message .&lt;/P&gt; 
&lt;P&gt;could you help me ?&lt;/P&gt; 
&lt;P&gt;Kr&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Alex&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/005390000067LRbAAM"&gt;@vapukov&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;Hi,&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;you just need convert date to string&lt;/P&gt; 
 &lt;PRE&gt;TalendDate.formatDate("dd-MM-yyyy", TalendDate.getLastDayOfMonth (TalendDate.getCurrentDate ()))  - end of Month

TalendDate.formatDate("dd-MM-yyyy", TalendDate.getCurrentDate ())  - today&lt;/PRE&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Apr 2020 09:46:38 GMT</pubDate>
    <dc:creator>Alexis_Sandvik</dc:creator>
    <dc:date>2020-04-03T09:46:38Z</dc:date>
    <item>
      <title>TMap - Date Format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TMap-Date-Format/m-p/2244809#M30844</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I need to insert a specific format in the Name field of a Salesforce object.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Example: Name: F - Check - 19-06-2019 - 30-06-2019.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The first date is the date of today. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The second date is the end of the month date.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In my tMap I used: &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- TalendDate.getLastDayOfMonth (TalendDate.addDate (TalendDate.getCurrentDate (), 0, "MM")): for the end-of-month date &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- TalendDate.getCurrentDate () for today. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The result is as presented: F - 20190614 - Wed 31 Jul 04:56:40 CDT 2019 - Tue. Jul 23 04:56:40 CDT 2019 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you help me adapt both dates? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TMap-Date-Format/m-p/2244809#M30844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: TMap - Date Format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TMap-Date-Format/m-p/2244810#M30845</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you just need convert date to string&lt;/P&gt;
&lt;PRE&gt;TalendDate.formatDate("dd-MM-yyyy", TalendDate.getLastDayOfMonth (TalendDate.getCurrentDate ()))  - end of Month

TalendDate.formatDate("dd-MM-yyyy", TalendDate.getCurrentDate ())  - today&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 11:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TMap-Date-Format/m-p/2244810#M30845</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-07-23T11:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: TMap - Date Format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TMap-Date-Format/m-p/2244811#M30846</link>
      <description>&lt;P&gt;Hello ,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I just start to working with Talend Studio, its great .&lt;/P&gt; 
&lt;P&gt;I try to insert the Date in my output file in new column&amp;nbsp; with this var ( talendDate )&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="talenddate.JPG" style="width: 543px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9eW.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144212i4F8AAFCA7AEF0EDA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9eW.jpg" alt="0683p000009M9eW.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;but i have an error message .&lt;/P&gt; 
&lt;P&gt;could you help me ?&lt;/P&gt; 
&lt;P&gt;Kr&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Alex&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/005390000067LRbAAM"&gt;@vapukov&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;Hi,&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;you just need convert date to string&lt;/P&gt; 
 &lt;PRE&gt;TalendDate.formatDate("dd-MM-yyyy", TalendDate.getLastDayOfMonth (TalendDate.getCurrentDate ()))  - end of Month

TalendDate.formatDate("dd-MM-yyyy", TalendDate.getCurrentDate ())  - today&lt;/PRE&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 09:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TMap-Date-Format/m-p/2244811#M30846</guid>
      <dc:creator>Alexis_Sandvik</dc:creator>
      <dc:date>2020-04-03T09:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: TMap - Date Format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TMap-Date-Format/m-p/2244812#M30847</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LR0MAAW"&gt;@Alexis_Sandvik&lt;/A&gt;&amp;nbsp;, you don't use the function correctly, go to &lt;STRONG&gt;Repository&lt;/STRONG&gt;--&amp;gt;&lt;STRONG&gt;Routines&lt;/STRONG&gt;--&amp;gt;&lt;STRONG&gt;System&lt;/STRONG&gt; and open the TalendDate routine, you will read the source code of this function.&lt;/P&gt; 
&lt;P&gt;addDate(Date date, int nb, String dateType)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you can't still get it works, please describe your requirement with a bit details.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 10:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TMap-Date-Format/m-p/2244812#M30847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-03T10:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: TMap - Date Format</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TMap-Date-Format/m-p/2244813#M30848</link>
      <description>Thanks for your feedback&lt;BR /&gt;&lt;BR /&gt;Its working fine with ==&amp;gt; TalendGetDate for add the current date in new column&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Apr 2020 15:42:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TMap-Date-Format/m-p/2244813#M30848</guid>
      <dc:creator>Alexis_Sandvik</dc:creator>
      <dc:date>2020-04-03T15:42:07Z</dc:date>
    </item>
  </channel>
</rss>

