Name: skT88420 Date: 09/14/99
import java.util.*;
class WhatIstoday
{
public static void main(String arg[])
{
Date today = new Date();
System.out.println(today.toLocaleString());
}
}
Returns the date exactly 1 hour later than the current system
time. The system TZ=US/Arizona which returns MST. Changing
the TZ=MST7MDT seems corrects the problem. Since Arizona does
not change times for daylight savings, this appears to be
problem.
java -version = 1.1.8
java -fullversion = JDK1.1.8M
(Review ID: 95263)
======================================================================