Convert from Millisecond to String of Date
问题 I try to convert from Milliseconds to string of date. However, the result is not correct as my expected. The input is milliseconds (Ex: 1508206600485 ) My time zone is UTC +10:00 ------Expected-------------------------------------------- Actual------ 01:32 (PM) 17/10/2017--------------------------------02:32 (PM) 17/10/2017 Here is the method of that public static String getDate(long milliSeconds) { SimpleDateFormat formatter = new SimpleDateFormat("hh:mm dd/MM/yyyy"); String dateString =