How to get year, month and day from different timezone?
<p>I am now in Hong Kong. How can I get the year, month and day from USA??<br>
I have tried:  </p>

<pre><code>Calendar calendar = Calendar.getInstance();
SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM-yyyy hh:mm:ss z");
sdf.setTimeZone(TimeZone.getTimeZone("America/Los_Angeles"));
sdf.format(calendar.getTime());
</code></pre>

<p>But I don't know how to get the year, month.
Please help</p>
