<?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 to set my context variable to Date without error ? (Null value will be used for context parameter date: Unparseable date: &amp;quot;&amp;quot;) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-my-context-variable-to-Date-without-error-Null-value/m-p/2374095#M136738</link>
    <description>&lt;P&gt;generally TalendDate.getDate return the date  as String Data type.&lt;/P&gt;&lt;P&gt;you can change your context variable data type to String or use TaendDate.CurrentDate function&lt;/P&gt;</description>
    <pubDate>Mon, 10 Aug 2020 16:39:16 GMT</pubDate>
    <dc:creator>jilanisyed</dc:creator>
    <dc:date>2020-08-10T16:39:16Z</dc:date>
    <item>
      <title>How to set my context variable to Date without error ? (Null value will be used for context parameter date: Unparseable date: "")</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-my-context-variable-to-Date-without-error-Null-value/m-p/2374094#M136737</link>
      <description>&lt;P&gt;Hello, I have to set my global variable to claim the current date with the format ("yyyy-MM-dd'T'HH:mm:ss'Z'");&lt;/P&gt;&lt;P&gt;When i do a TalendDate.getDate("&lt;/P&gt;&lt;P&gt;yyyy-MM-dd'T'HH:mm:ss'Z'") it work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i want to assign this value to my context variable. It say that we cannot convrt String to Date.&lt;/P&gt;&lt;P&gt;And when I don't fill the default value, it say that the value will take the value "null".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009IBP1AAO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134765iEF4D00646B72A454/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009IBP1AAO.png" alt="0693p000009IBP1AAO.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But i need to have --&amp;gt; a today date OR nothing for the first loop.&lt;/P&gt;&lt;P&gt;-&amp;gt;  Then with my tjava, I set my variable from the last Date from my API's result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked for several other Post but no one helped me. &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-my-context-variable-to-Date-without-error-Null-value/m-p/2374094#M136737</guid>
      <dc:creator>LDPtechAFB</dc:creator>
      <dc:date>2024-11-16T01:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to set my context variable to Date without error ? (Null value will be used for context parameter date: Unparseable date: "")</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-my-context-variable-to-Date-without-error-Null-value/m-p/2374095#M136738</link>
      <description>&lt;P&gt;generally TalendDate.getDate return the date  as String Data type.&lt;/P&gt;&lt;P&gt;you can change your context variable data type to String or use TaendDate.CurrentDate function&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 16:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-my-context-variable-to-Date-without-error-Null-value/m-p/2374095#M136738</guid>
      <dc:creator>jilanisyed</dc:creator>
      <dc:date>2020-08-10T16:39:16Z</dc:date>
    </item>
  </channel>
</rss>

