<?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: tHMap date format for JSON in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tHMap-date-format-for-JSON/m-p/2353135#M119392</link>
    <description>&lt;P&gt;Hi vboppudi,&lt;/P&gt;
&lt;P&gt;thank you for your input. I know how to do it in a tMap, this would be my workaround: Transforming the dates to a string and passing it to the tHMap as string. But from my point of view this is only a workaround and not an ideal solution, as I always have to do a null-safe explicit transformation instead of passing the values through.&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
    <pubDate>Tue, 29 May 2018 15:14:03 GMT</pubDate>
    <dc:creator>Tobi1</dc:creator>
    <dc:date>2018-05-29T15:14:03Z</dc:date>
    <item>
      <title>tHMap date format for JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-date-format-for-JSON/m-p/2353133#M119390</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I am using a tHMap to create a JSON object for a webservice. The webservice requires the following date format:&lt;/P&gt;
&lt;P&gt;yyyy-MM-dd'T'HH:mm:ss'Z'&lt;/P&gt;
&lt;P&gt;I cannot find this specific date format in the Date Formats of the structure. I neither could find a way to define a custom date format.&amp;nbsp;Thus, I am using "Default" as date format at the moment and defined the desired format in the Talend Data Integration schema, which is used as the input for the tHMap. As a result I get the following date format:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;yyyy-MM-dd'T'HH:mm:ss.SSS&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hence, my question: How can the date format of the tHMap JSON output be changed or customized?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Tobi&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 14:19:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-date-format-for-JSON/m-p/2353133#M119390</guid>
      <dc:creator>Tobi1</dc:creator>
      <dc:date>2018-05-29T14:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap date format for JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-date-format-for-JSON/m-p/2353134#M119391</link>
      <description>&lt;P&gt;in tMap you can try this&amp;nbsp;&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="DateFormat.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyiN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129031i8FE849A0E17BE584/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyiN.png" alt="0683p000009LyiN.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 15:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-date-format-for-JSON/m-p/2353134#M119391</guid>
      <dc:creator>vboppudi</dc:creator>
      <dc:date>2018-05-29T15:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap date format for JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-date-format-for-JSON/m-p/2353135#M119392</link>
      <description>&lt;P&gt;Hi vboppudi,&lt;/P&gt;
&lt;P&gt;thank you for your input. I know how to do it in a tMap, this would be my workaround: Transforming the dates to a string and passing it to the tHMap as string. But from my point of view this is only a workaround and not an ideal solution, as I always have to do a null-safe explicit transformation instead of passing the values through.&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 29 May 2018 15:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-date-format-for-JSON/m-p/2353135#M119392</guid>
      <dc:creator>Tobi1</dc:creator>
      <dc:date>2018-05-29T15:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap date format for JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-date-format-for-JSON/m-p/2353136#M119393</link>
      <description>&lt;P&gt;Were you able to resolve this? Can you help me?&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 13:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-date-format-for-JSON/m-p/2353136#M119393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-07T13:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap date format for JSON</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-date-format-for-JSON/m-p/2353137#M119394</link>
      <description>&lt;P&gt;Hi varmav2,&lt;/P&gt;&lt;P&gt;we followed the suggested way in a tMap. Not the solution we wished for, but we are doing fine with it. We wrote a custom routine "getDateTimeString" and "getDateString", which returns the date null-safe in the desired string format. I suppose there is no better solution to this. Definitely not in the tHMap, we only use it for 1:1 document transformation (Talend &amp;gt; JSON, JSON &amp;gt; Talend, XML &amp;gt; Talend, etc.) without any field operations.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2019 13:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-date-format-for-JSON/m-p/2353137#M119394</guid>
      <dc:creator>Tobi1</dc:creator>
      <dc:date>2019-05-07T13:40:33Z</dc:date>
    </item>
  </channel>
</rss>

