<?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: dot zero in a end of a datetime in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332324#M101218</link>
    <description>Hi, 
&lt;BR /&gt;I'm posting here because I'm facing a problem similar to this one. 
&lt;BR /&gt;I build all my SQL queries in at tJava component. This is what my select statement looks like - 
&lt;BR /&gt;qryString.append("SELECT c.cntrctid_ref, c.cntrctid_number, c.mildates_strtdt, "); 
&lt;BR /&gt;qryString.append(" cp.conprmid_ref, "); 
&lt;BR /&gt;qryString.append(" (CASE WHEN c.mildates_ustmntdt &amp;gt; '").append(context.convdate)).append("' "); 
&lt;BR /&gt;qryString.append(" THEN "); 
&lt;BR /&gt;qryString.append(" DATE(ADD_MONTHS(c.mildates_ustmntdt, -12)) "); 
&lt;BR /&gt;qryString.append(" ELSE "); 
&lt;BR /&gt;qryString.append(" c.mildates_ustmntdt "); 
&lt;BR /&gt;qryString.append(" END) anniv_date "); 
&lt;BR /&gt;context.convdate contains a valide dd/MM/yyyy format date. When I print this query on screen before a tInformixInput component, this is what I get (formatted for your viewing pleasure)- 
&lt;BR /&gt;SELECT c.cntrctid_ref, c.cntrctid_number, c.mildates_strtdt, cp.conprmid_ref, 
&lt;BR /&gt; (CASE WHEN c.mildates_ustmntdt &amp;gt; '2012-04-23' 
&lt;BR /&gt; THEN DATE(ADD_MONTHS(c.mildates_ustmntdt, -12)) 
&lt;BR /&gt; ELSE c.mildates_ustmntdt 
&lt;BR /&gt; END) anniv_date 
&lt;BR /&gt; 
&lt;BR /&gt;When I execute this query in the Informix query editor(dbaccess), it works. However, when I run this in a tInformixInput component I get the following stack trace - 
&lt;BR /&gt;Exception in component tInformixInput_2 
&lt;BR /&gt;java.sql.SQLException: String to date conversion error 
&lt;BR /&gt; at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:407) 
&lt;BR /&gt; at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3453) 
&lt;BR /&gt; at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3762) 
&lt;BR /&gt; at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2574) 
&lt;BR /&gt; at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2490) 
&lt;BR /&gt; at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1656) 
&lt;BR /&gt; at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1629) 
&lt;BR /&gt; at com.informix.jdbc.IfxResultSet.a(IfxResultSet.java:206) 
&lt;BR /&gt; at com.informix.jdbc.IfxStatement.executeQueryImpl(IfxStatement.java:1228) 
&lt;BR /&gt; at com.informix.jdbc.IfxStatement.executeQuery(IfxStatement.java:218) 
&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.tInformixInput_2Process(cntr_prem_base.java:3378) 
&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.tJava_3Process(cntr_prem_base.java:2716) 
&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.tInformixConnection_1Process(cntr_prem_base.java:2552) 
&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.tRunJob_1Process(cntr_prem_base.java:1443) 
&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.runJobInTOS(cntr_prem_base.java:5123) 
&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.main(cntr_prem_base.java:4774) 
&lt;BR /&gt;Caused by: java.sql.SQLException 
&lt;BR /&gt; at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:407) 
&lt;BR /&gt; at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3767) 
&lt;BR /&gt; ... 13 more 
&lt;BR /&gt; 
&lt;BR /&gt;However, when i reformat my date as yyyy-MM-dd, it executes properly. My DBDATE is DMY4 
&lt;BR /&gt;Any idea what's going on here?</description>
    <pubDate>Mon, 23 Apr 2012 16:05:22 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2012-04-23T16:05:22Z</dc:date>
    <item>
      <title>dot zero in a end of a datetime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332319#M101213</link>
      <description>Hi, 
&lt;BR /&gt;I explain to you my problem. 
&lt;BR /&gt;I have a tMySQLInput who search a datetime in my database. I have linked her with a main link to a tFlowToIterate. 
&lt;BR /&gt;Then I linked my tFlowToIterate to a tInformixInput. 
&lt;BR /&gt;Inside it I have a query who use the results of my tMySQLInput ( the datetime ) 
&lt;PRE&gt;((Date)globalMap.get("row18.myDate"))&lt;/PRE&gt; 
&lt;BR /&gt;When I launch I have this error : 
&lt;PRE&gt;Exception in component tInformixInput_5&lt;BR /&gt;java.sql.SQLException: Extra characters at the end of a datetime or interval.&lt;BR /&gt;	at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:407)&lt;BR /&gt;	at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3453)&lt;BR /&gt;	at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3762)&lt;BR /&gt;	at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2574)&lt;BR /&gt;	at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2490)&lt;BR /&gt;	at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1656)&lt;BR /&gt;	at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1629)&lt;BR /&gt;	at com.informix.jdbc.IfxResultSet.a(IfxResultSet.java:206)&lt;BR /&gt;	at com.informix.jdbc.IfxStatement.executeQueryImpl(IfxStatement.java:1228)&lt;BR /&gt;	at com.informix.jdbc.IfxStatement.executeQuery(IfxStatement.java:218)&lt;BR /&gt;	at projet_albin.myProject_0_1.myProject.tMysqlInput_9Process(myProject.java:1487)&lt;BR /&gt;	at projet_albin.myProject_0_1.myProject.runJobInTOS(myProject.java:1952)&lt;BR /&gt;	at projet_albin.myProject_0_1.myProject.main(myProject.java:1826)&lt;BR /&gt;Caused by: java.sql.SQLException&lt;BR /&gt;	at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:407)&lt;BR /&gt;	at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3767)&lt;BR /&gt;	... 10 more&lt;/PRE&gt; 
&lt;BR /&gt;So I use a tMsgBox to get the query of tInformixInput and I have a .0 at the end of my datetime... but I don't understand where it came. 
&lt;BR /&gt;Exemple : 
&lt;PRE&gt;2011-08-29 11:25:18.0&lt;/PRE&gt; 
&lt;BR /&gt;In my schema, myDate is in Date format. 
&lt;BR /&gt;Any idea ? 
&lt;BR /&gt;Thanks.</description>
      <pubDate>Sat, 16 Nov 2024 12:42:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332319#M101213</guid>
      <dc:creator>dpdfr_ag</dc:creator>
      <dc:date>2024-11-16T12:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: dot zero in a end of a datetime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332320#M101214</link>
      <description>Hi 
&lt;BR /&gt;For testing, link it to tLogRow from tMysqlInput and see whether it comes from tMysqlInput. 
&lt;BR /&gt;Waiting for your feedback!
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 29 Aug 2011 14:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332320#M101214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-29T14:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: dot zero in a end of a datetime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332321#M101215</link>
      <description>Hi Shong, 
&lt;BR /&gt;I do it and my datetime is normal, without .0 in the tLogRow
&lt;BR /&gt;
&lt;PRE&gt;|2011-08-25 18:58:43|&lt;BR /&gt;|2011-08-25 19:06:31|&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Aug 2011 14:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332321#M101215</guid>
      <dc:creator>dpdfr_ag</dc:creator>
      <dc:date>2011-08-29T14:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: dot zero in a end of a datetime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332322#M101216</link>
      <description>For information. &lt;BR /&gt;I have look into my others Job if I have the same problem. &lt;BR /&gt;I see that this problem appears only when we reuse the datetime like a String....&lt;BR /&gt;I explain, if I write my datetime in a tfileOutput or a tLogRow, no problem I have my correct datetime, but if I use it in a tJavaRow or in a other query ( for exemple : ((Date)globalMap.get("row18.myDate")) ), the problem appears. &lt;BR /&gt;Exemple of result with a tJavaRow with only a System.out.println(input_row.myDate);&lt;BR /&gt;&lt;PRE&gt; connected&lt;BR /&gt;2011-08-25 18:58:43.0&lt;BR /&gt;2011-08-25 19:06:31.0&lt;BR /&gt;2011-08-25 19:06:39.0&lt;BR /&gt;2011-08-25 19:06:59.0&lt;BR /&gt;2011-08-25 19:08:04.0&lt;BR /&gt;2011-08-25 19:08:16.0&lt;/PRE&gt;&lt;BR /&gt;Strange...&lt;BR /&gt;Perhaps this may help you.</description>
      <pubDate>Mon, 29 Aug 2011 14:44:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332322#M101216</guid>
      <dc:creator>dpdfr_ag</dc:creator>
      <dc:date>2011-08-29T14:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: dot zero in a end of a datetime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332323#M101217</link>
      <description>You need to manually convert the Date to a String in the correct format for your SQL statement e.g. ... WHERE testdate = "+TalendDate.formatDate("yyyy-MM-dd HH:mm:ss",(Date)globalMap.get("row18.myDate")).&lt;BR /&gt;(Talend does this for you when you use tfileOutput or tLogRow, applying the Date Pattern from the schema.)</description>
      <pubDate>Tue, 30 Aug 2011 02:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332323#M101217</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2011-08-30T02:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: dot zero in a end of a datetime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332324#M101218</link>
      <description>Hi, 
&lt;BR /&gt;I'm posting here because I'm facing a problem similar to this one. 
&lt;BR /&gt;I build all my SQL queries in at tJava component. This is what my select statement looks like - 
&lt;BR /&gt;qryString.append("SELECT c.cntrctid_ref, c.cntrctid_number, c.mildates_strtdt, "); 
&lt;BR /&gt;qryString.append(" cp.conprmid_ref, "); 
&lt;BR /&gt;qryString.append(" (CASE WHEN c.mildates_ustmntdt &amp;gt; '").append(context.convdate)).append("' "); 
&lt;BR /&gt;qryString.append(" THEN "); 
&lt;BR /&gt;qryString.append(" DATE(ADD_MONTHS(c.mildates_ustmntdt, -12)) "); 
&lt;BR /&gt;qryString.append(" ELSE "); 
&lt;BR /&gt;qryString.append(" c.mildates_ustmntdt "); 
&lt;BR /&gt;qryString.append(" END) anniv_date "); 
&lt;BR /&gt;context.convdate contains a valide dd/MM/yyyy format date. When I print this query on screen before a tInformixInput component, this is what I get (formatted for your viewing pleasure)- 
&lt;BR /&gt;SELECT c.cntrctid_ref, c.cntrctid_number, c.mildates_strtdt, cp.conprmid_ref, 
&lt;BR /&gt; (CASE WHEN c.mildates_ustmntdt &amp;gt; '2012-04-23' 
&lt;BR /&gt; THEN DATE(ADD_MONTHS(c.mildates_ustmntdt, -12)) 
&lt;BR /&gt; ELSE c.mildates_ustmntdt 
&lt;BR /&gt; END) anniv_date 
&lt;BR /&gt; 
&lt;BR /&gt;When I execute this query in the Informix query editor(dbaccess), it works. However, when I run this in a tInformixInput component I get the following stack trace - 
&lt;BR /&gt;Exception in component tInformixInput_2 
&lt;BR /&gt;java.sql.SQLException: String to date conversion error 
&lt;BR /&gt; at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:407) 
&lt;BR /&gt; at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3453) 
&lt;BR /&gt; at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3762) 
&lt;BR /&gt; at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2574) 
&lt;BR /&gt; at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2490) 
&lt;BR /&gt; at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1656) 
&lt;BR /&gt; at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1629) 
&lt;BR /&gt; at com.informix.jdbc.IfxResultSet.a(IfxResultSet.java:206) 
&lt;BR /&gt; at com.informix.jdbc.IfxStatement.executeQueryImpl(IfxStatement.java:1228) 
&lt;BR /&gt; at com.informix.jdbc.IfxStatement.executeQuery(IfxStatement.java:218) 
&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.tInformixInput_2Process(cntr_prem_base.java:3378) 
&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.tJava_3Process(cntr_prem_base.java:2716) 
&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.tInformixConnection_1Process(cntr_prem_base.java:2552) 
&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.tRunJob_1Process(cntr_prem_base.java:1443) 
&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.runJobInTOS(cntr_prem_base.java:5123) 
&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.main(cntr_prem_base.java:4774) 
&lt;BR /&gt;Caused by: java.sql.SQLException 
&lt;BR /&gt; at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:407) 
&lt;BR /&gt; at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3767) 
&lt;BR /&gt; ... 13 more 
&lt;BR /&gt; 
&lt;BR /&gt;However, when i reformat my date as yyyy-MM-dd, it executes properly. My DBDATE is DMY4 
&lt;BR /&gt;Any idea what's going on here?</description>
      <pubDate>Mon, 23 Apr 2012 16:05:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332324#M101218</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-04-23T16:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: dot zero in a end of a datetime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332325#M101219</link>
      <description>Sorry for duplicating this. Reposting with bbcode. 
&lt;BR /&gt;I'm posting here because I'm facing a problem similar to this one. 
&lt;BR /&gt; 
&lt;B&gt;I use talend 4.1.1.r50363.&lt;/B&gt; 
&lt;BR /&gt;I build all my SQL queries in at tJava component. This is what my select statement looks like - 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Query:&lt;BR /&gt;qryString.append("SELECT c.cntrctid_ref, c.cntrctid_number, c.mildates_strtdt, ");&lt;BR /&gt;qryString.append(" cp.conprmid_ref, ");&lt;BR /&gt;qryString.append(" (CASE WHEN c.mildates_ustmntdt &amp;gt; '").append(context.convdate)).append("' ");&lt;BR /&gt;qryString.append(" THEN ");&lt;BR /&gt;qryString.append(" DATE(ADD_MONTHS(c.mildates_ustmntdt, -12)) ");&lt;BR /&gt;qryString.append(" ELSE ");&lt;BR /&gt;qryString.append(" c.mildates_ustmntdt ");&lt;BR /&gt;qryString.append(" END) anniv_date ");&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;context.convdate contains a valide dd/MM/yyyy format date. When I print this query on screen before a tInformixInput component, this is what I get (formatted for your viewing pleasure)- 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Query:&lt;BR /&gt;SELECT c.cntrctid_ref, c.cntrctid_number, c.mildates_strtdt, cp.conprmid_ref, &lt;BR /&gt; (CASE WHEN c.mildates_ustmntdt &amp;gt; '2012-04-23' &lt;BR /&gt; THEN DATE(ADD_MONTHS(c.mildates_ustmntdt, -12)) &lt;BR /&gt; ELSE c.mildates_ustmntdt&lt;BR /&gt; END) anniv_date&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;When I execute this query in the Informix query editor(dbaccess), it works. However, when I run this in a tInformixInput component I get the following stack trace - 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Stacktrace :&lt;BR /&gt;Exception in component tInformixInput_2&lt;BR /&gt;java.sql.SQLException: String to date conversion error&lt;BR /&gt; at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:407)&lt;BR /&gt; at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3453)&lt;BR /&gt; at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3762)&lt;BR /&gt; at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2574)&lt;BR /&gt; at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2490)&lt;BR /&gt; at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1656)&lt;BR /&gt; at com.informix.jdbc.IfxSqli.executeStatementQuery(IfxSqli.java:1629)&lt;BR /&gt; at com.informix.jdbc.IfxResultSet.a(IfxResultSet.java:206)&lt;BR /&gt; at com.informix.jdbc.IfxStatement.executeQueryImpl(IfxStatement.java:1228)&lt;BR /&gt; at com.informix.jdbc.IfxStatement.executeQuery(IfxStatement.java:218)&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.tInformixInput_2Process(cntr_prem_base.java:3378)&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.tJava_3Process(cntr_prem_base.java:2716)&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.tInformixConnection_1Process(cntr_prem_base.java:2552)&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.tRunJob_1Process(cntr_prem_base.java:1443)&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.runJobInTOS(cntr_prem_base.java:5123)&lt;BR /&gt; at aquila.cntr_prem_base_0_1.cntr_prem_base.main(cntr_prem_base.java:4774)&lt;BR /&gt;Caused by: java.sql.SQLException&lt;BR /&gt; at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:407)&lt;BR /&gt; at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3767)&lt;BR /&gt; ... 13 more&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;However, when i reformat my date as yyyy-MM-dd, it executes properly. My DBDATE is DMY4 
&lt;BR /&gt;Any idea what's going wrong here?</description>
      <pubDate>Mon, 23 Apr 2012 16:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332325#M101219</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-04-23T16:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: dot zero in a end of a datetime</title>
      <link>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332326#M101220</link>
      <description>If you append a Date to your SELECT String, you have no control of the format used for that Date.  As I said above, you need to manually convert the Date to a String in the correct format for your SQL statement e.g.&lt;PRE&gt;qryString.append("      (CASE WHEN c.mildates_ustmntdt &amp;gt; '").append(TalendDate.formatDate("dd/MM/yyyy",context.convdate)).append("' ");&lt;/PRE&gt;&lt;BR /&gt;And you don't need to re-post, you can just edit your previous post if you register.</description>
      <pubDate>Tue, 24 Apr 2012 00:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/dot-zero-in-a-end-of-a-datetime/m-p/2332326#M101220</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-04-24T00:17:56Z</dc:date>
    </item>
  </channel>
</rss>

