title: converting Date Time to a specific locale
body: <p>I'm trying to convert a Date Time which is <code>Mon Apr 18 22:56:10 GMT+05:30 2016</code>.</p>
  
  <p>I have to convert this to a locale <code>hi-IN (Hindi)</code>.</p>
  
  <p>I'm performing the below steps:</p>
  
  <pre><code>Date time = "Mon Apr 18 22:56:10 GMT+05:30 2016";
  String dateTimeFormat = "dd MMM yyyy hh:mm aa";
  SimpleDateFormat sdfgmt = new SimpleDateFormat(dateTimeFormat, new Locale("hi","IN"));
  sdfgmt.setTimeZone(TimeZone.getTimeZone("UTC"));
  System.out.println(sdfgmt.format(time));
  </code></pre>
  
  <p>The output i get is, that only the month is getting translated. the other numbers, the AM/PM field still stand un-translated.</p>
  
  <p>Can Any one provide a solution for the same. I have gone through many similar posts and have followed steps in the below link:
  <a href="https://stackoverflow.com/questions/31135692/how-to-change-date-time-language-in-android">How to change date time language in android</a></p>
  
  <p>Note: I'm using the above code snippet in Android app actually.</p>
  
  <p>Thanks in advance.</p>