FIX: __TIMESTAMP__ Reports Pacific Standard TimeLast reviewed: September 18, 1997Article ID: Q123163 |
1.00
WINDOWS NT
kbtool kbfixlist kbbuglist
The information in this article applies to:
SYMPTOMSThe __TIMESTAMP__ predefined compiler macro always returns timestamp information in Pacific Standard time, regardless of the local time and time zone on the machine where CL.EXE is run.
STATUSMicrosoft has confirmed this to be a bug in the products listed at the beginning of this article. This bug was corrected in Visual C++, 32-bit Edition, version 2.0.
MORE INFORMATIONThe following sample code can be used to demonstrate the problem. NOTE: You must change your time zone via the Date/Time Control Panel applet if you are under Pacific Standard Time to see the problem.
Sample Code
/* Compile options needed: none */ #include <stdio.h> void main(){ printf( "The time is %s\n", __TIMESTAMP__ );}
|
Additional reference words: 1.00 8.00 PST stamp local time
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |