Java - How to set timezone of a java.util.Date
- by Yatendra Goel
I have parsed a java.util.Date from a String but it is setting the local timezone as the timzone of the date object.
The timezone is not specified in the String from which Date is parsed. I want to set a specific timezone of the date object.
How can I do that?