title: Angular primeNG Calendar object needs to be a millisecond timestamp
body: <p>I need some help, I can't seem to figure this out. </p>
  
  <p>I need my date object to be a millisecond object that is being passed and not the format with </p>
  
  <p>I've tried almost everything. and I cannot get my object into milliseconds (which I need for my backend JSON object)</p>
  
  <p>any suggestions will help, thanks. </p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code> &lt;div class="ui-g-12 ui-md-4"&gt;
      &lt;h3&gt;Icon&lt;/h3&gt;
      &lt;p-calendar [(ngModel)]="date4" [showIcon]="true" dateFormat="@" &gt;&lt;/p-calendar&gt; &lt;span style="margin-left:35px"&gt;{{date4}}&lt;/span&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p><strong>.TS</strong></p>
  
  <pre><code> date4: Date;
  </code></pre>
  
  <p><strong>Current: Output</strong></p>
  
  <pre><code>Wed Feb 07 2018 00:00:00 GMT-0500 (Eastern Standard Time)
  </code></pre>
  
  <p><strong>Also Tried</strong></p>
  
  <pre><code>date4 = new Date(this.date4).getTime();
  </code></pre>
  
  <p>I tried this as well but still showing:</p>