title: How to display only current time using DateFormat.getDateTimeInstance() in android
body: <p>I am new to android. In android I want to display only current time in a textview in the format hh:mm am/pm (eg: 3:02 PM) I use the following code.</p>
  
  <p><code>String currentDateTimeString = DateFormat.getDateTimeInstance().format(new Date());
          tv.setText(currentDateTimeString);
  </code></p>
  
  <p>It gives the current date,month,year and time.But i need to get only the current time from this. Is there any way to display only time? Can anyone help me to get the time without date from the above code.[using DateFormat.getDateTimeInstance()]</p>