title: Why is the start of the year in Moment.js December 31?
body: <p>I've been banging my head against the keyboard for about a day now trying to figure out this time variance with momentjs.</p>
  
  <p>I have an API endpoint that sets the time the request came in by calling</p>
  
  <p><code>var now = moment().valueOf();</code></p>
  
  <p>Then, it finds the beginning of the year by simply calling</p>
  
  <p><code>moment(now).startOf('year');</code></p>
  
  <p>After about 48 hours of seeding our DB with test data on a run, I noticed that the timestamp set in the database is December 31, 2015 (1451624400000).</p>
  
  <p>When I run the program locally, the timestamp is January 1, 2016 (1451635200000).</p>
  
  <p>When I log into our servers, create a test script to find the variance, and log the output, the timestamp is January 1, 2016.</p>
  
  <p>Nothing is touching the time except for this one method in the api.</p>
  
  <p>Is there some reason why momentjs would think the start of the year is December 31, 2015? If so, how do I change it? Haven't been able to find any help on this so far, and the moment.js docs explicitly say the start of the year is January 1 of the year.</p>