title: If I have a date Time Format, is there any to to display only time?
body: <p>I have an application that retrieves a string formatted in date time format from a database, and I want to display only the time in certain instances, how would I accomplish this?</p>
  
  <p>This is what I have tried so far but I get an Unparsable error</p>
  
  <pre><code>public static final String DATE_TIME_FORMAT = "yyyy-MM-dd kk:mm:ss";
  private static final String TIME_FORMAT = "kk:mm";
  
  // ...
  
  SimpleDateFormat TimeFormat = new SimpleDateFormat(TIME_FORMAT);
  Date startTimer = null;
  Date endTimer = null;
  
  try
  {
      String dateString = cursor.getString(6); 
      startTimer = TimeFormat.parse(dateString); 
  
      //Code for End Time
      String endDateString = cursor.getString(7); 
      endTimer = TimeFormat.parse(endDateString);
  
      totalBillable += endTimer.getTime() - startTimer.getTime();             
  }
  catch (ParseException e)
  {
      Log.e("ReminderEditActivity", e.getMessage(), e);
  }
  </code></pre>