title: Modify timezone new date javascript
body: <p>I'm using a calendar plugin in which I want the Date object to be stored with a particular timezone. I am using the plugin, <a href="http://momentjs.com/" rel="nofollow">moment.js</a> and <a href="http://momentjs.com/timezone/" rel="nofollow">moment-timezone.js</a>.</p>
  
  <p>console.log(new Date(moment.tz("2012-11-04 01:00:00-04:00", "America/New_York").format()));</p>
  
  <p>Obtain: <code>Date {Sun Nov 04 2012 05:00:00 GMT+0000}</code></p>
  
  <p>I need: <code>Date {Sun Nov 04 2012 05:00:00 GMT-0400}</code></p>
  
  <p>I'm using a PhoneGap library and I need two object date.</p>
  
  <pre><code>window.plugins.calendar.createEvent(title, event_location, notes, start_date, end_date, function(message) { }, function(message) { });
  </code></pre>
  
  <p>The plugin save the event in the device calendar and detects if the timezone that is sent is different from the device timezone and changes the timezone of the event. Showing the event time of the event in the timezone of the device and the event.</p>