how can i get Los Angeles (USA) current time programmatically in android?
<p>Hi i developing a application in android. i need to use the Los Angeles (USA) location current time, date. For that I used the below code </p>

<pre><code>        Calendar calendar = Calendar.getInstance();       
        TimeZone tz = TimeZone.getTimeZone("America/Los_Angeles");
        calendar.setTimeZone(tz);
        String s=calendar.getTime().toString();
</code></pre>

<p>But it is giving the current location time and date. Please provide a code to get the time and date by providing particular location name like Los Angeles.</p>
