Time picker giving unusual time format on android
<p>I have used a time picker in my android project. In the onTimeChange method I did something like this:</p>

<pre><code>@Override
    public void onTimeChanged(TimePicker view, int hourOfDay, int minute) {

        long PICK = ((hourOfDay * 60 * 60) + (minute * 60)) * 1000;
        String delegate = "hh:mm aaa";
        timemode = (String) DateFormat.format(delegate, PICK);
        Toast.makeText(getApplicationContext(), timemode, Toast.LENGTH_LONG).show();
    }
</code></pre>

<p>but when I toast it, its showing unusual time(6 hours diffrence), how to get the original time picked in the time picker?</p>
