Re: COleDateTime in VS.NET 2003 ?

From: Santhosh Pillai [MS] (sanpil-online_at_microsoft.com)
Date: 04/27/04


Date: Tue, 27 Apr 2004 12:40:57 -0700

You may need one or more of these hotfixes:

823457 FIX: The COleDateTime::SetDate method does not return an invalid
status
http://support.microsoft.com/?id=823457

813647 FIX: COleDateTime::SetDate No Longer Returns an "Invalid" Status on
an
http://support.microsoft.com/?id=813647

832230 FIX: The COleDateTime object returns an Invalid status for a valid
date
http://support.microsoft.com/?id=832230

828100 FIX: "The parameter is incorrect" error message when you open a file
http://support.microsoft.com/?id=828100

Thanks,
Santhosh

"Chris" <chrisNOSPAM@noswisscomspam.com> wrote in message
news:1083066000.856627@ftpgate...
> Hello everyone
>
> Is there something special in the ATL::COleDateTime class?
> The following code:
>
> COleDateTime dt;
> cout << dt.SetDate(2004, 2, 31) << endl;
>
> display 0, which is supposed to mean that date was successfully set.
>
> February 31 is certainly not a valid date to me, so what am I missing?
>
> Chris
>
>



Relevant Pages