Hello all,
I have a question about the timezone settings:
My Linux box is using local CST time, but the java.lang.Calendar or
java.lang.Date always report CDT...
Here is my program:
----------------
import java.lang.*;
import java.util.*;
public class TestCal {
public static void main(String[] argv) {
Calendar cal = Calendar.getInstance();
System.out.println(cal.getTime());
}
}
----------------
The output of the program is always CDT time.
Could anybody tell me how to solve this problem? thanks.
--
Feng-Cheng Chang
Institute for Information Industry
Taipei, Taiwan, ROC.
Tel: 886-2-2377-6100 Ext. 609
E-Mail: [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]