Java tutorial
import java.util.TimeZone; public class Main { public static void main(String args[]) { TimeZone timezone = TimeZone.getTimeZone("Europe/Paris"); // checking offset value System.out.println("Offset value is :" + timezone.getOffset(1, 2011, 2, 2, 2, 300)); } }