title: How to set date time values?
body: <p>In my android application, I want to set the date and time in <code>TextView</code>. In that date value I have selected and stored as a <code>String</code>. Now I want to set the <code>String</code> date value and current time. </p>
  
  <p>I tried the following code. It did displayed stored date value but the time as 12.00 AM. I want <strong>current time</strong>?</p>
  
  <pre><code>String lbl_date="02-Aug-2011";
  Date dateObj = new Date(lbl_date); 
  SimpleDateFormat postFormater = new SimpleDateFormat("dd-MMM-yyyy hh:mm aa",Locale.ENGLISH); 
  String newDateStr = postFormater.format(dateObj);           
  txt_date_start.setText(newDateStr.toString());
  </code></pre>
  
  <p>output as: <code>02-Aug-2011 12:00 AM</code></p>
  
  <p>Need: <code>02-Aug-2011 [current time]</code></p>