title: How to format Joda Time to dd-mm-yyyy in android?
body: <pre><code> String DOB = new DateTime(Long.parseLong(dob) * 1000, DateTimeZone.UTC ).toString();
   // Current
   // YYYY-MM-DD
   // DOB = "1994-05-10T00:00.000Z"
  
   // Required 
   // DD-MM-YYYY
   // DOB = "10-05-1994"
  </code></pre>
  
  <p>I want to remove the hh:mm:ss and format the date using Joda-Time DateTimeFormatter.</p>