title: Date.compareTo(Date) not working
body: <p>I am writing an app scenario, where need to match between two date if there are same or not and that I am trying to achieve using <code>Date.compareTo()</code>. But it never return 0 as API said for equal date. </p>
  
  <p>I am getting these dates from <code>Caledar.getTime()</code> but it never </p>
  
  <p>I checked with print to both date object and even they are returning same string.</p>
  
  <pre><code>Sat Nov 15 14:17:41 GMT+05:30 2014, Sat Nov 15 14:17:41 GMT+05:30 2014
  </code></pre>
  
  <p>Any suggestion, how to check date object if they are equal or not.</p>