<?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: Oracle to MongoDB is removing one day from dates in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Oracle-to-MongoDB-is-removing-one-day-from-dates/m-p/2224609#M17254</link>
    <description>Hi Stephen,&lt;BR /&gt;Could you please also indicate the build version you are using?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
    <pubDate>Tue, 12 Jan 2016 06:24:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-01-12T06:24:51Z</dc:date>
    <item>
      <title>Oracle to MongoDB is removing one day from dates</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-to-MongoDB-is-removing-one-day-from-dates/m-p/2224608#M17253</link>
      <description>Hi,
&lt;BR /&gt;I am actually using the mongDB API via a tLibraryLoad component, as I find this easier to build complex multi-level documents using tJavaRow and tJava components, than using the MongoDB palette components.
&lt;BR /&gt;I am reading in data from Oracle which are date values with a zero time stamp component:
&lt;BR /&gt;
&lt;PRE&gt;29-JUN-08 00.00.00&lt;BR /&gt;&lt;/PRE&gt;
&lt;BR /&gt;The records in mongo shell appear to be the previous day.&amp;nbsp; You can see the record is inserted as the 28-JUN-2008.
&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;"status_date" : ISODate("2008-06-28T23:00:00Z")&lt;BR /&gt;&lt;/PRE&gt;
&lt;BR /&gt;
&lt;BR /&gt;It is almost as if mongoDB sees a midnight date as the end of the previous day, rather than the start of the 29th June 2008.
&lt;BR /&gt;In my schema I have specified the Oracle columns as Date and DB Type of Date.
&lt;BR /&gt;I expect this is related to UTC. &amp;nbsp;However I am not sure where the UTC offset is being introduced. &amp;nbsp;I am running the job locally on my PC which is UTC+00 (UK). &amp;nbsp;In Oracle I am storing the date as a "date" and not a "timezone with timestamp" so am not even storing the timezone in the database. &amp;nbsp;
&lt;BR /&gt;All I want is the stored date to be captured in mongoDB as captured in Oracle....
&lt;BR /&gt;Any advice appreciated.
&lt;BR /&gt;Regards
&lt;BR /&gt;Stephen</description>
      <pubDate>Wed, 06 Jan 2016 18:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-to-MongoDB-is-removing-one-day-from-dates/m-p/2224608#M17253</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-06T18:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle to MongoDB is removing one day from dates</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-to-MongoDB-is-removing-one-day-from-dates/m-p/2224609#M17254</link>
      <description>Hi Stephen,&lt;BR /&gt;Could you please also indicate the build version you are using?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 12 Jan 2016 06:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-to-MongoDB-is-removing-one-day-from-dates/m-p/2224609#M17254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-12T06:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle to MongoDB is removing one day from dates</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-to-MongoDB-is-removing-one-day-from-dates/m-p/2224610#M17255</link>
      <description>Is this what you require?
&lt;BR /&gt;I believe this is to do with Daylight Saving Time.&amp;nbsp;&amp;nbsp; MongoDB is looking at the raw time from Oracle, and then adjusting due to DST for some reason....If I change my locale settings in Windows to US, then the changes to the dates adjust as to when they kick in - in accordance with DST in the US.
&lt;BR /&gt;Talend Unified Platform feature&amp;nbsp;6.0.1.20150908_1633&amp;nbsp;org.talend.tup.feature.feature.group&amp;nbsp;Talend.
&lt;BR /&gt;Regards
&lt;BR /&gt;Stephen</description>
      <pubDate>Tue, 12 Jan 2016 09:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-to-MongoDB-is-removing-one-day-from-dates/m-p/2224610#M17255</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-12T09:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle to MongoDB is removing one day from dates</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-to-MongoDB-is-removing-one-day-from-dates/m-p/2224611#M17256</link>
      <description>Any update or answers here?</description>
      <pubDate>Wed, 24 Feb 2016 14:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-to-MongoDB-is-removing-one-day-from-dates/m-p/2224611#M17256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-24T14:00:59Z</dc:date>
    </item>
  </channel>
</rss>

