title: How to change the output date format of input type="date" in angular 4?
body: <p>Actually I am working with angular 4 application. I am having a scenario like, I have to send the Date for as <strong>dd/mm/yyyy</strong> to the server.</p>
  
  <p>I am using property as input type ="date". But this property returns the value like <strong>yyyy/mm/dd</strong>. so how do I change the output format of the Date.</p>
  
  <p><strong>Students.html</strong></p>
  
  <pre><code>&lt;input type="date" [(ngModel)]="Students.dob" name="Students.dob"&gt;
  </code></pre>
  
  <p>After selecting the date, when I am check with console.log().</p>
  
  <p><strong>Students.components.ts</strong></p>
  
  <pre><code>checkDate() { console.log(Students.dob); }
  </code></pre>
  
  <p>Finally the output was <strong>yyyy/mm/dd.</strong>.</p>
  
  <p>Is there any way to overcome this issue? kindly let me know.</p>