title: Problem with Calendar.get(Calendar.HOUR)
body: <p>I am trying to display in a TextView when my application last updated (e.g., "Last updated at 12:13). I am trying to use a Calendar instance and I thought I understood it correctly but I seem to be having trouble. I know to get an instance I use the method Calendar.getInstance(). And then to get the hour and minute I was using Calendar.get(Calendar.HOUR) and Calendar.get(Calendar.MINUTE). My minute field returns correctly but Calendar.HOUR is returning the hour on a 24 hour clock and I want a 12 hour clock. I thought HOUR_OF_DAY was 24 hour clock. Where am I going wrong?</p>
  
  <p>Here is the code I'm using:</p>
  
  <pre><code>Calendar rightNow = Calendar.getInstance();
  mTv.setText("Refreshed! Last updated " + 
             rightNow.get(Calendar.HOUR) + ":" + 
             rightNow.get(Calendar.MINUTE) + ".");
  </code></pre>
  
  <p>mTv is my TextView that I'm updating. Thanks for any help.</p>
  
  <p>Also, it would be ideal if I could say "Last updated 5 minutes ago." instead of "Last updated at 12:13pm". But I'm not sure the best way to have this update each minute without draining resources or the battery...?</p>