title: How to get value of mydatepicker as formatted value in angular 2?
body: <p>I am using <code>my-date-picker</code>in angular2 ,when i select any date from datepicker then it will give me output of datepicker in <code>JSON</code> like this 
  <code>"effectiveDate":{"date":{"year":2017,"month":7,"day":1},"jsdate":"2017-06-30T18:30:00.000Z","formatted":"07/01/2017","epoc":1498847400}</code> but i want output like <code>"effectiveDate":"07/01/2017"</code> this.</p>
  
  <p><strong>getting output</strong> : </p>
  
  <pre><code>"effectiveDate":{"date":{"year":2017,"month":7,"day":1},"jsdate":"2017-06-30T18:30:00.000Z","formatted":"07/01/2017","epoc":1498847400}
  </code></pre>
  
  <p><strong>need output</strong> :</p>
  
  <pre><code>"effectiveDate":"07/01/2017"
  </code></pre>