Java tutorial
//package com.java2s; import java.util.Calendar; import java.util.TimeZone; public class Main { public static String getDeviceTimeZone() { Calendar calendar = Calendar.getInstance(); TimeZone timeZone = calendar.getTimeZone(); String retString = timeZone.getTimeZone(timeZone.getID()).getID(); return retString; } }