Getting SimpleDateFormat for specific timezone
问题 I am having a hard time displaying time for a specific timezone. I have a TV Guide like app that gets all start times of the programs in Unix epoch time from the server and I want the times to be shown in the time it would be in the Netherlands wherever the app user is and from whatever android device. After a bit of researching I would think it would work like this: new SimpleDateFormat("HH:mm", new Locale("nl", "NL")).format(new Date(time*1000)); where time is a epoch time for example