title: Date is off by one day on server but not on localhost
body: <p>I just started a new job at this software company and we realized that just a couple days ago that the dates on some of our service reports were off by a day.  When I run the application on localhost all the dates are correct, so I can only speculate that the issue is coming from the server end.</p>
  
  <p>We have all dates and times converted to UTC already so I don't think that this is an issue.</p>
  
  <pre><code>export const FormatDate = (stringDate) =&gt; {
      if (stringDate &amp;&amp; stringDate != "") {
          var date = new Date(stringDate);
          if (date.getFullYear() &lt; 2015) { return "" }
  
          var monthNames = ["Jan.", "Feb.", "Mar.", "Apr.", "May.", "Jun.", "Jul.", "Aug.", "Sep.", "Oct.", "Nov.", "Dec."];
          var dateToPass = monthNames[date.getMonth()] + " " + (date.getDate() ) + ", " + date.getFullYear();
  
          if (dateToPass === "Jan. 1, 1000") {
              return "";
          }
          return dateToPass;
      }
      return "";
  }
  </code></pre>
  
  <p>This is currently how we are formatting our dates.  I would assume that this wouldn't cause any issues but then again I'm slightly new to JavaScript so any suggestions would be appreciated.</p>