fazlurr
2/5/2015 - 6:25 AM

Date, convert UTC to current local time - http://stackoverflow.com/a/6049385

Date, convert UTC to current local time - http://stackoverflow.com/a/6049385

SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
simpleDateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
Date myDate = simpleDateFormat.parse(rawQuestion.getString("AskDateTime"));