Anyway of getting am/pm from time?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2605470/displaying-the-time-in-am-pm-format-in-android">Displaying the Time in AM/PM format in android</a>  </p>
</blockquote>



<p>I can get the time and turn it into string using:</p>

<pre><code>public static final String TIME_FORMAT = "h:mm a";
       SimpleDateFormat dateTimeFormat = new SimpleDateFormat(TIME_FORMAT);

String getstring = dateTimeFormat.format(when.gettime();
</code></pre>

<p>but how do i get am/pm from it and turn it into string beccause i need it?</p>
