title: Android call log format time of call
body: <p>I am collecting data from the call log.
  This is how I format the date of the call to my taste:</p>
  
  <pre><code>DateFormat datePattern = DateFormat.getDateInstance(DateFormat.FULL);  //Tuesday, October 18, 2011
  Long datelong = Long.parseLong("1318950779497");
  String date_str = datePattern.format(datelong);
  Date date = new Date(date_str);
  formatter = new SimpleDateFormat("d/M/yyyy");  //18/10/2011
  newdateformatted = formatter.format(date);
  </code></pre>
  
  <p>This the time of the call:</p>
  
  <pre><code>DateFormat timePattern = DateFormat.getTimeInstance(DateFormat.LONG); //12:40:32 PM GMT+00:00
  </code></pre>
  
  <p>How can I format this? I want the 24 hour time code.</p>