Java tutorial
import java.util.TimeZone; public class Main { public static void main(String args[]) { TimeZone timezone = TimeZone.getDefault(); // checking raw offset value System.out.println("Raw Offset value:" + timezone.getRawOffset()); } }