COleDateTime in VS.NET 2003 ?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Chris (chrisNOSPAM_at_noswisscomspam.com)
Date: 04/27/04


Date: Tue, 27 Apr 2004 13:40:00 +0200

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

  • Re: COleDateTime in VS.NET 2003 ?
    ... "Chris" wrote in message ... > COleDateTime dt; ... > display 0, which is supposed to mean that date was successfully set. ...
    (microsoft.public.win32.programmer.ole)
  • Re: Need Repaired, WTB, or WTT Sys 11,11a,11b MPU
    ... segments that are missing vary from display test to display test. ...  Besides that the game will play. ...
    (rec.games.pinball)
  • Re: C:windowssystem32catsrv.dll
    ... Where exactly are you missing the XP version from? ... to display it. ... didn't install SP2 but I just did tonight because I did the repair to ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Display a calendar with week number
    ... I am learning how to write shell scripts. ... Chris F.A. Johnson wrote: ... If I would like to diplay a calendar with week number, ... You can select the month to display either by number or name. ...
    (alt.os.linux)
  • Re: FS: 4 Bally pins in MIch or Poss trade
    ... display missing one segment, ... Not everyone are pinball fix er up fanatics and are ... Greg Email any questions to ...
    (rec.games.pinball)