title: Convert date string to a particular date format "dd-MM-yyyy" in Java
body: <p>I have multiple contacts with birth dates and all are synced with the mobile device. Now the problem is all contacts have different birthday formats and I want to display all of the birthday dates in a specific format like "dd-MM-yyyy".</p>
  
  <p>So for example, one synchronized contact has birthday like "1990-02-07" or "1988-06-15T22:00:00.000Z" or "12-02-1990" etc...
  Then all of these dates should be displayed in a specific format "dd-MM-yyyy".</p>
  
  <p>So how can I resolve this issue?</p>
  
  <p>Any suggestion will be appreciated.</p>