Strange Java Timezone Date Conversion Problem

This is the problem:


There’s no such time zone ID, so Java in its infinite wisdom decides to just return you UTC without telling you that anything’s wrong. Try this instead:


Wikipedia has a list of IANA time zone IDs, but it’s somewhat out of date (at the time of writing); the IANA data is the most up-to-date, but it’s not as easily browsable…

Leave a Comment