Convert Date by TimeZone
问题 In that code above I want to transform a Date by the TimeZone of Server (GMT-02:00) to TimeZone from my Device (GMT-03:00). But I Always have the same Date of the server. What I doing wrong? TimeZone timeZoneServer = TimeZone.getTimeZone(timeZoneServerString); Long time = new Long(Long.valueOf(timeInMilis)); Calendar calendarDateServer = Calendar.getInstance(timeZoneServer); calendarDateServer.setTimeInMillis(time); long miliServer = calendarDateServer.getTimeInMillis(); TimeZone timeZoneMeu