title: Mongoose .find is giving me dates in the wrong format
body: <p>so on MongoDB I have a Date object stored as this:</p>
  
  <p><code>"$date": "2015-08-27T13:50:49.000Z"</code> </p>
  
  <p>So the date on MongoDB is correct. Then, I am using a Mongoose <code>.find()</code> to get the 'newest' message in that database like this:</p>
  
  <pre><code>Message.find({}).sort({ "created_at" : -1 })
    .limit(1)
    .exec(function(error, result) {
      if(error) callback(error);
      var date = moment(result.created_at);
      console.log(date);
      console.log(result);
      callback(null, result);
  });
  </code></pre>
  
  <p>So when I log <code>result</code> to the console, which is the Message itself, it shows me the time as this:</p>
  
  <p><code>created_at: Thu Aug 27 2015 21:50:49 GMT+0800 (CST)</code></p>
  
  <p>The time is correct, but I don't want to receive the date as GMT when it is clearly stored on MongoDB as UTC. In this specific example, <code>moment(result.created_at)</code> prints the date to console like this:</p>
  
  <pre><code>{ [Number: 1440685886247]
    _isAMomentObject: true,
    _isUTC: false,
    _locale: 
     { _ordinalParse: /\d{1,2}(th|st|nd|rd)/,
       ordinal: [Function],
       _abbr: 'en',
       _ordinalParseLenient: /\d{1,2}(th|st|nd|rd)|\d{1,2}/ },
    _d: Thu Aug 27 2015 22:31:26 GMT+0800 (CST) }
  </code></pre>
  
  <p>Somehow this is actually printing the current time according to my laptop. I have no idea why it is doing this when <code>date</code> is declared as <code>moment()</code> using the date from MongoDB.</p>
  
  <p>So does anyone know how I can successfully use the date from my database? When printing the Message to console I get it printed in GMT and when using moment I seem to be printing my laptop's time.</p>
  
  <p>Thanks!</p>
  
  <p><strong>Update:</strong></p>
  
  <p>So far I have tried taking <code>result.created_at</code> from the database and outputting it to console using the following methods:</p>
  
  <pre><code>var date = Date(result.created_at) // Prints current time on laptop
  var date = new Date(result.created_at) // Prints undefined
  var date = result.created_at // Prints undefined
  var date = moment(result.created_at) // Prints moment object with the time as computer's time
  </code></pre>
  
  <p>I am a bit stuck. I want to use this date object for another function but can only get it to hold the computer's time.</p>