title: How to format Time and String value in Java's String formatter
body: <p>Using Java String.format() how do I format a string to result in "Time - userId" (ie. 3:02 pm - joe user).</p>
  
  <p>I have worked several iterations, and I think it is the space between the minutes and the am/pm that is throwing me off.  My last iteration is </p>
  
  <pre><code>String.format("%1$tl:%1$tM %1$tp - %2s", new Date(), "joe user");
  </code></pre>
  
  <p>I am about to punt and use a SimpleDateFormat, but thought I would ask here first.</p>