title: Android Format calendar to output time
body: <p>I am using the below code to set an alarm. I would like to output what the time for this would be. I don't know if I going about this the wrong way. If I output the variable cal it has a long string of information. How do I extract only the hour and minutes?</p>
  
  <pre><code>    Calendar cal = Calendar.getInstance();
      // add 5 minutes to the calendar object
      cal.add(Calendar.MINUTE, 464);
  </code></pre>