title: How to format the current date format in Vue.js
body: <p>I need to get the current date in <strong><code>Vue.js</code></strong>. </p>
  
  <p>For that, I used the following method.</p>
  
  <pre><code>today_date: new Date().toJSON().slice(0,10).replace(/-/g,'.')
  </code></pre>
  
  <p><code>today_date</code> will give the date as <code>2019.09.11</code> format.  </p>
  
  <p>Is there any method to customize this format? Actually I need to get the date as <code>11.09.2019</code> format. But it's better to know whether there are solutions to get the date in several formats.</p>