|
Duplicate :
|
Name: rlT66838 Date: 07/14/97
I have witten a time class for Java. When I run it on NT it always thinks it is GMT.
Example program:
import java.util.*;
public class Foo {
public static void main(String [] args) {
TimeZone tz = TimeZone.getDefault();
System.out.println(tz.getID());
}
}
Output on UNIX:
MST
Output on NT:
GMT
======================================================================
|