The information in this article applies to:
SYMPTOMSWhen using the java.text.DateFormat class, you will observe that it properly sets the time/date. However it does not display the time corresponding to the default system time zone set on your computer. Instead, it defaults to the first time zone of the system's locale. (For US English, the default would always be PST/PDT.) CAUSEThe problem is that the time zone is not set by default in the versions of the Microsoft virtual machine (Microsoft VM) prior to build 3181. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. http://www.microsoft.com/java.If you are using a Microsoft VM build prior to this version, then the workaround is to call setTimeZone on the DateFormat object. MORE INFORMATIONSteps to Reproduce Behavior
REFERENCESFor the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java,
please see the following pages on the Microsoft Technical Support site: http://support.microsoft.com/support/visualj/ Additional query words:
Keywords : kbJavaVM kbSDKJava kbGrpJava kbDSupport |
Last Reviewed: November 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |