How to add time to my date object?
<p><strong>How to add time to my date object which i select using DatePicker.</strong> The date picker by default set's the time to <code>00:00:00</code> to my date object, i need to add the current system time to my date object.</p>

<pre><code>Calendar now = Calendar.getInstance();
int hours = now.get(Calendar.HOUR_OF_DAY);
int minutes = now.get(Calendar.MINUTE);
int seconds = now.get(Calendar.SECOND);
//int hours = new Time(System.currentTimeMillis()).getHours();
//int minutes = new Time(System.currentTimeMillis()).getMinutes();
//int seconds = new Time(System.currentTimeMillis()).getSeconds();
now.set(year, month, day, hours, minutes, seconds);
textDateField.setText(getDateAsString(now.getTime()));
</code></pre>

<p>I am using Date Picker and the click of the set button, i get the date displayed in the field, but the date object is without time. How can i append the time with my date object. </p>

<pre><code>public static String getDateAsString(Date date) {
    SimpleDateFormat format = new SimpleDateFormat("dd MMM yyyy");
    return format.format(date);
}
</code></pre>

<p>The above is what i tried, but it did not work.</p>
