title: How to convert Date to a particular format in android?
body: <p>"Mar 10, 2016 6:30:00 PM" This is my date and I want to convert this into "10 Mar 2016". Can I use SimpleDateFormat in android. I am not getting the exact pattern to convert it. Please help and thanks in advance</p>
  
  <pre><code>String date="Mar 10, 2016 6:30:00 PM";
  SimpleDateFormat spf=new SimpleDateFormat("Some Pattern for above date");
  Date newDate=spf.format(date);
  spf= new SimpleDateFormat("dd MMM yyyy");
  String date = spf.format(newDate);
  </code></pre>
  
  <p>Will this steps work? If yes, can someone please give me a pattern of that format? Thanks in advance.</p>