Java tutorial
//package com.java2s; import java.util.Date; import java.util.TimeZone; public class Main { public static long adjustTimezoneOffset(long utcMillies) { TimeZone tz = TimeZone.getTimeZone("CET"); long offset = tz.getOffset(new Date().getTime()); return utcMillies + offset; } }