title: Convert ISO date to international date type javascript
body: <p>I want to filter data by current month (maybe additionally add next month data). I don't know how to go from the beginning.<br>
  In theory I think I could compare current month and month date from my data and then to display data only if two months variables match.<br>
  I thought I should start like this:</p>
  
  <pre><code>var myDate = new Date();
  var thisMonth = new Date(myDate);
  thisMonth.setMonth(myDate.getMonth()+1);
  var nextMonth = new Date(myDate);
  nextMonth.setMonth(myDate.getMonth()+2);
  </code></pre>
  
  <p><em>Thank you in advance for any kind of help!</em></p>
  
  <p><em>Additional detailed explanation:</em><br>
  I copied SharePoint 2013 list whose data I displayed on SharePoint site page.<br>
  In content editor web part I wrote javascript code to show that list as a table.<br>
  I have two date columns (from/until) but they are displayed in table as <strong>YYYY-MM-DD HH:MM:SS</strong>. Looks to me like ISO date format. I saw several examples how to convert in js that type of date into date type like DD.MM.YYYY. None worked for me or I didn't know how to do it correctly. So I created calculated field that will present date type as text/string, after this I managed to show date on js table the way I wanted.</p>