title: Datetime parsing for Ical files
body: <p>I am taking in a timezone (req.body.TIMEZONE), and a datetime start - end from a form.  I am trying to display the time back and make an Ical file with it however whenever I do new Date(string) I get the time 7 hours ahead?  I am trying to use moment?  How can I display the local time to the user in the ical file??  </p>
  
  <pre><code>        var cal = ical();
              cal.domain('gmail.com');
  
  
              var dateFormat = 'YYYY-DD-MM HH:mm+00:00';
              console.log(req.body.START_TIME); //2016-10-03 10:40 am
  
              var startTime = moment(req.body.START_TIME);
              var localDateStart = startTime.local();
              console.log(localDateStart.format(dateFormat));  // 2016-03-10 10:40+00:00
              console.log(new Date(localDateStart.format(dateFormat))); // invalid... wants the same time
  
  
              var endTime = moment(req.body.END_TIME);
              var localDateEnd = endTime.local();
              console.log(localDateEnd.format(dateFormat)); 
  
              var event = cal.createEvent({
  
                  start: new Date(localDateStart.format(dateFormat)),
                  end: new Date(localDateEnd.format(dateFormat)),
                  summary: req.body.TITLE,
                  location: req.body.LOCATION,
                  description: req.body.DESCRIPTION,
                  organizer: req.body.HOSTED + " &lt;" + req.body.EMAIL + "&gt;",
                  url: req.body.URL
              });
  </code></pre>