Other |
---|
1.4.0 beta2Fixed |
Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Name: rlT66838 Date: 12/04/99 Times seem to be off by an hour on machines which have turned off the "Automatically adjust clock for daylight savings changes" option from the Windows control panel's Date/Time tab. Sample Code ----------- public class dst { public static void main(String[] args) { System.out.println(new java.util.Date()); } } Results ------- Run this class with the "Automatically adjust..." flag turned on, and the resulting time matches the windows system clock. Then turn off the flag and try again. This time, the resulting time will be off from the Windows System time by 1 hour. (Review ID: 94196) ======================================================================
|