I sure this has already been mentioned, but there ain't no 29th of February in 2005!
Paul ----- Original Message ----- From: "soonhuat ong" <[EMAIL PROTECTED]> To: [email protected] Subject: [delphi-en] TDatetimepicker problem Date: Fri, 29 Jul 2005 00:36:06 -0700 (PDT) > > > I have a TDateTimePicker component and has its 'format' property set to 'MMMM' > ON buttonA click event, i write the following code : > > > DateTimePicker1.Date := recodemonth(Now, IntToStr('02'); > > But it give me the following error : > "2005/2/29 is not a valid date and time" . > > What's wrong with the code ? and how should i get it fixed ? > Thanks in advance > > > > > > --------------------------------- > Start your day with Yahoo! - make it your home page > > [Non-text portions of this message have been removed] > > > > > ----------------------------------------------------- > Home page: http://groups.yahoo.com/group/delphi-en/ > To unsubscribe: [EMAIL PROTECTED] > Yahoo! Groups Links > > > > Experience is something you don't get until just after you need it. Experience is something you don't get until just after you need it. -- _______________________________________________ Surf the Web in a faster, safer and easier way: Download Opera 8 at http://www.opera.com Powered by Outblaze ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hh9skkk/M=362329.6886308.7839368.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1122650062/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!</a>.</font> --------------------------------------------------------------------~-> ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

