title: Date format with Moment.js or classic JS, change places of day and month?
body: <p>I get date value from my source in this format:
  02.08.2016 / Day.Month.Year, it's correct.</p>
  
  <p>but JavaScript understand this inverse, Month.Day.Year.</p>
  
  <p>I tried some ways with Moment.js like:</p>
  
  <pre><code>moment('15.08.2016').format('MM.DD.YYYY');
  </code></pre>
  
  <p>My JsFiddle is: <a href="http://jsfiddle.net/PAc3j/389/" rel="nofollow">http://jsfiddle.net/PAc3j/389/</a>
  There are some results visible, see please output, variable dateThree: <em>Invalid date</em></p>
  
  <p>My question is, how can I do it with Moment.js or classic JavaScript?</p>