title: Nodejs Mongoose : Trying to save date in UTC Timezone but its saving in local time zone
body: <p>I am new for nodejs and mongodb. I am using mongoose for mongodb and I am facing the issue related date whenever I try to save date into database it automatically convert into local timezone, however it should not be happen.</p>
  
  <p>I have set Node timezone "UTC" into .env file and it is working when I do console.log(new Date()), it returns me the current datetime according to UTC. But when I trying to save it to mongoose it converted into localtime zone. I have tried it with <strong>Date</strong> field as well with <strong>timestamps : true</strong> it convert both into local timezone.</p>
  
  <p>My code is
  <strong>// Mongoose model</strong></p>
  
  <pre><code>var mongoose = require('mongoose');
  var Schema = mongoose.Schema;
  
  var activitySchema = new Schema({
      'userId': Number,
      'data': Array,
      'otherDetails': Array,
      'date':Date
  }, {
      timestamps: false
  });
  module.exports = mongoose.model('activity', activitySchema);
  </code></pre>
  
  <p>// Save code </p>
  
  <pre><code>let na = new Date().toISOString().replace(/T/, ' ').replace(/\..+/, '')+".100";
   var activity = new activityModel({
              userId : req.user.user_id,
              otherDetails : req.body.otherDetails,
              data : req.body.data,
              date : na.toString()
  
          });
  
          activity.save();
  </code></pre>