i get the phone default time and trying to convert it to colombo time this is my code
Calendar c = Calendar.getInstance();
SimpleDateFormat currFormat = new SimpleDateFormat(
"EEE MMM dd HH:mm:ss zzz yyyy");
currFormat.setTimeZone(TimeZone.getTimeZone("Asia/Colombo"));
try {
c.setTime(currFormat.parse(c.getTime().toString()));
} catch (ParseException e1) {
// TODO Auto-generated catch block
Log.e("Time In Srvice", e1.getMessage());
e1.printStackTrace();
}
Code is working fine but time is not converting to the colombo time zone