Why do you think you need to do this? This does not really make sense so there is normally no need to do this. The class java.util.Date store the date as the number of milliseconds since 1/1/1970 00:00:00 UTC regardless of the platform timezone. The JVM uses the platform default timezone for converting java.util.Date to
String or String to java.utll.Date but
you should specify a timezone for these conversions when using SimpleDataFormat or java.utl.Calendar. This way your application will be correct regardless of the default platform timezone.