<?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.diffDate ==&amp;gt; no days between March 27th and March 28th ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-diffDate-gt-no-days-between-March-27th-and-March-28th/m-p/2277975#M53581</link>
    <description>have you found some solution for this bug ?</description>
    <pubDate>Fri, 11 Oct 2019 11:52:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-11T11:52:48Z</dc:date>
    <item>
      <title>TalendDate.diffDate ==&gt; no days between March 27th and March 28th ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-diffDate-gt-no-days-between-March-27th-and-March-28th/m-p/2277971#M53577</link>
      <description>Hi,
&lt;BR /&gt;
&lt;BR /&gt;I have a little problem, when I use the TalendDate.diffDate function, in order to count the number of days between January, 1st 2011 and today.
&lt;BR /&gt;The TalendDate.diffDate function seems to forget a day in March...
&lt;BR /&gt;I may be crazy, but when I use the following instruction in a tMap, I have the same answer for March 27th and March 28th :
&lt;BR /&gt;
&lt;BR /&gt;TalendDate.diffDate(TalendDate.parseDate("yyyy-MM-dd","2011-03-26"),TalendDate.parseDate("yyyy-MM-dd","2011-01-01"),"dd") 
&lt;BR /&gt;==&amp;gt; 84
&lt;BR /&gt;TalendDate.diffDate(TalendDate.parseDate("yyyy-MM-dd","2011-03-27"),TalendDate.parseDate("yyyy-MM-dd","2011-01-01"),"dd") 
&lt;BR /&gt;==&amp;gt; 85
&lt;BR /&gt;TalendDate.diffDate(TalendDate.parseDate("yyyy-MM-dd","2011-03-28"),TalendDate.parseDate("yyyy-MM-dd","2011-01-01"),"dd") 
&lt;BR /&gt;==&amp;gt; 85 ???
&lt;BR /&gt;
&lt;BR /&gt;I use TOS 4.1.1.r50363
&lt;BR /&gt;Thank you for your help.</description>
      <pubDate>Sat, 16 Nov 2024 13:00:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-diffDate-gt-no-days-between-March-27th-and-March-28th/m-p/2277971#M53577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.diffDate ==&gt; no days between March 27th and March 28th ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-diffDate-gt-no-days-between-March-27th-and-March-28th/m-p/2277972#M53578</link>
      <description>My colleagues foud the bug : it's about the time shift for summer...
&lt;BR /&gt;It happended during the night of the 27th to the 28th...
&lt;BR /&gt;The function can be used, but I need to specify the hours in the date... One hour less minimum in the second date...
&lt;BR /&gt;For example :
&lt;BR /&gt;TalendDate.diffDate(TalendDate.parseDate("yyyy-MM-dd-HH","2011-03-28-16"),TalendDate.parseDate("yyyy-MM-dd-HH","2011-01-01-15"),"dd") 
&lt;BR /&gt;==&amp;gt; 86 ==&amp;gt; CORRECT !
&lt;BR /&gt;
&lt;BR /&gt;You can see the problem using the function with the differences in hours :
&lt;BR /&gt;TalendDate.diffDate(TalendDate.parseDate("yyyy-MM-dd","2011-03-28"),TalendDate.parseDate("yyyy-MM-dd","2011-01-01"),"HH") 
&lt;BR /&gt;==&amp;gt; 2063 (we miss an hour to reach 2064 hours i.e. 86 days expected)
&lt;BR /&gt;
&lt;BR /&gt;Many thanks to Nicolas and Jean-Noël...
&lt;BR /&gt;
&lt;BR /&gt;Anyone for the Talend team ? This bug is understandable, but may be serious : I use this function to calculate Julian Dates that would be wrong from this week...</description>
      <pubDate>Wed, 30 Mar 2011 10:53:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-diffDate-gt-no-days-between-March-27th-and-March-28th/m-p/2277972#M53578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-30T10:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.diffDate ==&gt; no days between March 27th and March 28th ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-diffDate-gt-no-days-between-March-27th-and-March-28th/m-p/2277973#M53579</link>
      <description>Hello,
&lt;BR /&gt;I would like to know how I do in Talend to calculate the age of a person from his birth date and the current date?
&lt;BR /&gt;I used this code:
&lt;BR /&gt;TalendDate.diffDate(TalendDate.parseDate("dd-MM-yyyyy","11-08-2013"),TalendDate.parseDate("dd-MM-yyyyy","20-01-2000"),"dd") 
&lt;BR /&gt;I'd like it to be dynamic I do not know if we can do that.??
&lt;BR /&gt;TalendDate.diffDate(TalendDate.parseDate("dd-MM-yyyyy","TalendDate.getCurrentDate()"),TalendDate.parseDate("dd-MM-yyyyy","row6.dateNaiss"),"dd") 
&lt;BR /&gt;But it shows me an error: Type mismatch: can not convert long to float
&lt;BR /&gt;Thank you in advance</description>
      <pubDate>Mon, 12 Aug 2013 13:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-diffDate-gt-no-days-between-March-27th-and-March-28th/m-p/2277973#M53579</guid>
      <dc:creator>slim025</dc:creator>
      <dc:date>2013-08-12T13:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.diffDate ==&gt; no days between March 27th and March 28th ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-diffDate-gt-no-days-between-March-27th-and-March-28th/m-p/2277974#M53580</link>
      <description>Don't post the same question more than once - 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCrToCAK" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/Calculate-the-age-from-the-current-date-and-the-date-of-birth/td-p/116052&lt;/A&gt;.</description>
      <pubDate>Tue, 13 Aug 2013 02:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-diffDate-gt-no-days-between-March-27th-and-March-28th/m-p/2277974#M53580</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2013-08-13T02:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.diffDate ==&gt; no days between March 27th and March 28th ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-diffDate-gt-no-days-between-March-27th-and-March-28th/m-p/2277975#M53581</link>
      <description>have you found some solution for this bug ?</description>
      <pubDate>Fri, 11 Oct 2019 11:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-diffDate-gt-no-days-between-March-27th-and-March-28th/m-p/2277975#M53581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-11T11:52:48Z</dc:date>
    </item>
  </channel>
</rss>

