The information in this article applies to:
SYMPTOMS
COleDateTime::Format("%D") fails to return the day in the object. RESOLUTIONInstead of using Format use COleDateTime::GetDay() or COleDateTimeSpan::GetDays() to get the day value and use CString::Format to put it into a CString. The sample code below illustrates this using CString::Format. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available. REFERENCESSample Code
(c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Yeong-
Kah Tam, Microsoft Corporation
Additional query words: kbVC420bug kbDSupport COleDateTime COleDateTimeSpan Format Day
Keywords : kbcode kbVC500bug |
Last Reviewed: July 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |