<?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: TalendDate.parseDate - Weird behavior in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-Weird-behavior/m-p/2306029#M77608</link>
    <description>First of all a real Date typed object HAS NO format. Formats or pattern are only used to convert a Date object into a textual representation and back.
&lt;BR /&gt;Therefore such expressions like&amp;nbsp;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;TalendDate.parseDate("YYYYMMDD",TalendDate.getDate("YYYYMMDD")) simply does not make sense (except you want to get rid of the time part) because you transform the current Date into a text form an after that converting back into a Date object.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;If you anywhere read a Date in the standard output format that does not mean anything bad for you, it is simply the fact the standard pattern to render a Date object was applied.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;But you did not described actually where your problem is.</description>
    <pubDate>Wed, 13 Jul 2016 22:00:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-13T22:00:21Z</dc:date>
    <item>
      <title>TalendDate.parseDate - Weird behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-Weird-behavior/m-p/2306028#M77607</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I've my input field of string type that stores date in YYYYMMDD format. I want to convert it to date type keeping the format same. &lt;BR /&gt;I tried using following expression in tmap expression editor but it always gives me output date in standard format instead of desired format (YYYYMMDD).&lt;BR /&gt;TalendDate.parseDate("YYYYMMDD", row2.source_date) &lt;BR /&gt;Another issue is it is giving me a constant date - Sun Dec 27 00:00:00 CST 2015 even if I give below expression which should ideally give me current date in the output of date type in format YYYYMMDD.&lt;BR /&gt;TalendDate.parseDate("YYYYMMDD",TalendDate.getDate("YYYYMMDD"))&lt;BR /&gt;Please could someone provide inputs on this issue.&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 17:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-Weird-behavior/m-p/2306028#M77607</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-13T17:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.parseDate - Weird behavior</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-Weird-behavior/m-p/2306029#M77608</link>
      <description>First of all a real Date typed object HAS NO format. Formats or pattern are only used to convert a Date object into a textual representation and back.
&lt;BR /&gt;Therefore such expressions like&amp;nbsp;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;TalendDate.parseDate("YYYYMMDD",TalendDate.getDate("YYYYMMDD")) simply does not make sense (except you want to get rid of the time part) because you transform the current Date into a text form an after that converting back into a Date object.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;If you anywhere read a Date in the standard output format that does not mean anything bad for you, it is simply the fact the standard pattern to render a Date object was applied.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;But you did not described actually where your problem is.</description>
      <pubDate>Wed, 13 Jul 2016 22:00:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-parseDate-Weird-behavior/m-p/2306029#M77608</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-13T22:00:21Z</dc:date>
    </item>
  </channel>
</rss>

