title: Set date() to midnight in users timezone with moment.js
body: <p>I use moment.js to display a UTC date in the users local timezone:</p>
  
  <pre><code>var date = new Date(Date.UTC(2016,03,30,0,0,0));
  var now = new Date();
  var diff = (date.getTime()/1000) - (now.getTime()/1000);
  
  var textnode = document.createTextNode(moment(date).format('dddd, DD.MM.YYYY') + ' a las ' + moment(date).format('HH:mm A'));
  document.getElementsByClassName("date")[0].appendChild(textnode.cloneNode(true));
  </code></pre>
  
  <p>I later use the <code>diff</code> variable to show a countdown timer.</p>
  
  <p>I would like to show a different countdown timer to everyone in their local time zone. (Using the difference till its midnight in their time zone, not in UTC)</p>
  
  <p>But I am struggeling to get it work. Instead of using <code>var date = new Date(Date.UTC(2016,03,30,0,0,0));</code> I probably need to use some function of moment.js that gives me till midnight in the users time zone.</p>
  
  <p>The best example would be new years eve. If I use UTC everyone would have the same counter (9 hours left) but in different parts of the world this wouldn't make sense. For someone in australia it should be 2 hours left, and for someone in the US 14 hours.</p>