SimpleDateFormat returns wrong time zone during parse
问题 I am facing a strange problem during the creation of Date object. I have the below code to set the time zone of the date to UTC. Before the parse statement i see that sdfDate has time zone as UTC but after the parse statement i see that punchDate has value: Sat Mar 30 01:00:00 CET 2013, this i believe is coming from my system. But how do i make sure that the time zone remains same even after parse. Date punchDate = null; Date punchTime = null; SimpleDateFormat sdfDate = new SimpleDateFormat(