<?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: [resolved] how to convert datetime from xml to timestamp ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359981#M124658</link>
    <description>Hi Shong, 
&lt;BR /&gt;The screenshots are below, 
&lt;BR /&gt;Could you tell me how to covert it before tXMLMap ? Because the xsd is imported from the tXMLMap (tXMLMap is the start point for the xsd process.) 
&lt;BR /&gt;Thanks ! 
&lt;BR /&gt;James 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA7k.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142869i692D34A5F2597024/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA7k.png" alt="0683p000009MA7k.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Tue, 20 Aug 2013 15:33:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-20T15:33:47Z</dc:date>
    <item>
      <title>[resolved] how to convert datetime from xml to timestamp ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359977#M124654</link>
      <description>Hi, &lt;BR /&gt;Since the Talend does not have the timestamp mapping type. It maps the timestamp to date type.  But this is not good to process a XML datetime of """yyyy-MM-ddThh:mm:ss" (a "T" inside).  The run time error  is below error even if I defined the parsing format "yyyy-MM-ddThh:mm:ss"&lt;BR /&gt;Exception in component tXMLMap_1_TXMLMAP_OUT&lt;BR /&gt;java.lang.RuntimeException: Unparseable date: "2013-06-28T20:01:30"&lt;BR /&gt;The "T" is a standard datetime in XML and we have to accept it (data from the customer).&lt;BR /&gt;Is there any way to solve this ?&lt;BR /&gt;Thanks !&lt;BR /&gt;James</description>
      <pubDate>Thu, 15 Aug 2013 17:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359977#M124654</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-15T17:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to convert datetime from xml to timestamp ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359978#M124655</link>
      <description>Hi James
&lt;BR /&gt;Try this date pattern for the datetime format like "2013-06-28T20:01:30"
&lt;BR /&gt;
&lt;PRE&gt;"yyyy-MM-dd'T'HH:mm:ss"&lt;/PRE&gt;
&lt;BR /&gt;Shong</description>
      <pubDate>Sat, 17 Aug 2013 10:22:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359978#M124655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-17T10:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to convert datetime from xml to timestamp ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359979#M124656</link>
      <description>Hi Shong, 
&lt;BR /&gt;That is exactly what I have tried. (In my post, I have a type error in "yyyy-MM-ddThh:mm:ss", actually, I used Ctrl-Sapce to chose the "yyyy-MM-dd'T'HH:mm:ss". So it used the right "yyyy-MM-dd'T'HH:mm:ss" format. ) but I kept getting the error. 
&lt;BR /&gt;The scenario is, 
&lt;BR /&gt;In tXMLMap, define a column with "document". Then import the xml schema XSD file into. The xsd defined a datatime field. Then I mapped it to an output and define its Date Pattern to "yyyy-MM-dd'T'HH:mm:ss". Then run it and error came. I used in this way because this is the only place I can import a XSD file. (Please tell me if there are other ways to map an output from a XSD file.) 
&lt;BR /&gt; 
&lt;BR /&gt;I run in the Java Debug, I found it always uses the "dd-MM-yyyy" (from ParserUtils.java) instead of my setting "yyyy-MM-dd'T'HH:mm:ss". 
&lt;BR /&gt;Thanks ! 
&lt;BR /&gt;James</description>
      <pubDate>Mon, 19 Aug 2013 14:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359979#M124656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-19T14:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to convert datetime from xml to timestamp ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359980#M124657</link>
      <description>Hi James
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;I run in the Java Debug, I found it always uses the "dd-MM-yyyy" (from ParserUtils.java) instead of my setting "yyyy-MM-dd'T'HH:mm:ss".&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;It sounds like a bug, where do the data come from? If there was a bug on tXMLMap, you can parse the data and convert it to a Date before or after tXMLMap component to solve this issue? Some of screenshots of the job will be helpful for me understand the problem.
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 20 Aug 2013 02:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359980#M124657</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-20T02:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to convert datetime from xml to timestamp ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359981#M124658</link>
      <description>Hi Shong, 
&lt;BR /&gt;The screenshots are below, 
&lt;BR /&gt;Could you tell me how to covert it before tXMLMap ? Because the xsd is imported from the tXMLMap (tXMLMap is the start point for the xsd process.) 
&lt;BR /&gt;Thanks ! 
&lt;BR /&gt;James 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA7k.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142869i692D34A5F2597024/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA7k.png" alt="0683p000009MA7k.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 20 Aug 2013 15:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359981#M124658</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-20T15:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to convert datetime from xml to timestamp ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359982#M124659</link>
      <description>Sorry, other three image is too large to be loaded. I am trying again. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAkR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139720i2AF1CD1A822E628E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAkR.png" alt="0683p000009MAkR.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 20 Aug 2013 15:38:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359982#M124659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-20T15:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to convert datetime from xml to timestamp ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359983#M124660</link>
      <description>The other two are still too large. I cut them again.</description>
      <pubDate>Tue, 20 Aug 2013 16:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359983#M124660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-20T16:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to convert datetime from xml to timestamp ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359984#M124661</link>
      <description>again 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MArR.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142593i1E12FA409CAE4B96/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MArR.png" alt="0683p000009MArR.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MArW.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151426i7144AFB3C1A9CF34/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MArW.png" alt="0683p000009MArW.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 20 Aug 2013 16:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359984#M124661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-20T16:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to convert datetime from xml to timestamp ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359985#M124662</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi Shong,&lt;BR /&gt;The screenshots are below,&lt;BR /&gt;Could you tell me how to covert it before tXMLMap ? Because the xsd is imported from the tXMLMap (tXMLMap is the start point for the xsd process.)&lt;BR /&gt;Thanks !&lt;BR /&gt;James&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;From your screenshot, I see the data comes from tFileInputXML, but I don't fully understand you on this "tXMLMap is the start point for the xsd process", can you please export the the job and send it to me via email?
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 21 Aug 2013 03:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359985#M124662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-21T03:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to convert datetime from xml to timestamp ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359986#M124663</link>
      <description>I have sent out.&lt;BR /&gt;thanks !&lt;BR /&gt;James</description>
      <pubDate>Wed, 21 Aug 2013 15:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359986#M124663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-21T15:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to convert datetime from xml to timestamp ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359987#M124664</link>
      <description>Hi James 
&lt;BR /&gt;Thanks for your detailed information, I think I have found out the issue, you need to open the Tree schema editor, and change the data type of the date column to Date and set its date pattern. Please see my screenshot. 
&lt;BR /&gt;Shong 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAYv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142609iF7BF1D80B776458B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAYv.png" alt="0683p000009MAYv.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 22 Aug 2013 03:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359987#M124664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-22T03:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to convert datetime from xml to timestamp ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359988#M124665</link>
      <description>It worked. Thanks a lot !&lt;BR /&gt;But I have further questions for that schema.  I will write the details in email.&lt;BR /&gt;Thanks !&lt;BR /&gt;James</description>
      <pubDate>Thu, 22 Aug 2013 13:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359988#M124665</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-22T13:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to convert datetime from xml to timestamp ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359989#M124666</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi James&lt;BR /&gt;Thanks for your detailed information, I think I have found out the issue, you need to open the Tree schema editor, and change the data type of the date column to Date and set its date pattern. Please see my screenshot.&lt;BR /&gt;Shong&lt;BR /&gt;&lt;BR /&gt;Hi Shong / James,&lt;BR /&gt;I did changes as mentioned in the screen shot, but still its not working for me.&lt;BR /&gt;Can you help me out.&lt;BR /&gt;Thanks,&lt;BR /&gt;Kyasanur&lt;BR /&gt;&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 01 Aug 2016 10:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359989#M124666</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-08-01T10:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how to convert datetime from xml to timestamp ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359990#M124667</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried changing the pattern in the tree schema, still it did not work. Kindly help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2020 21:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-to-convert-datetime-from-xml-to-timestamp/m-p/2359990#M124667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-16T21:28:17Z</dc:date>
    </item>
  </channel>
</rss>

