title: MongoDB TimeZone
body: <p>I write into my mongoDB database, for example a startDate, the startdate is always the monday of a week (I use and I'm in middle european timezone).</p>
  
  <pre><code>"startDate" : ISODate("2014-12-28T23:00:00Z"), 
  "startDate" : ISODate("2015-03-29T22:00:00Z")
  "startDate" : ISODate("2015-04-05T22:00:00Z"), 
  "startDate" : ISODate("2015-10-25T23:00:00Z")
  </code></pre>
  
  <p>I am confused because sometimes the dateformat is:</p>
  
  <pre><code>2014-12-28T23:00:00Z  (sunday, 23h)
  </code></pre>
  
  <p>and sometimes it is: </p>
  
  <pre><code>2015-04-05T22:00:00Z (sunday, 22h)
  </code></pre>
  
  <p>In Java- code the date is monday, 00h -> this is ok.
  Does anyone know whats going on here, why the time is different for the records and how to prevent this?</p>