2010/12/4 Benoît Minisini <gam...@users.sourceforge.net>: >> > >> > Gambas 2.19/64 Suse11.3 locale Hong Kong: >> > >> > PRINT DateAdd(CDate("2/13/2010"), gb.month, -36) >> > PRINT DateAdd(CDate("3/28/2010"), gb.month, -37) >> > PRINT DateAdd(CDate("4/13/2010"), gb.month, -38) >> > produces >> > 13/02/07 >> > 28/02/07 >> > 13/02/07 >> > >> > whereas >> > PRINT DateAdd(CDate("1/13/2010"), gb.month, -36) >> > PRINT DateAdd(CDate("2/28/2010"), gb.month, -37) >> > PRINT DateAdd(CDate("3/13/2010"), gb.month, -38) >> > all produce an invalid date error. >> > >> > Regards >> > Werner >> >> Forgot to mention it works in Gambas3 version 3293. >> > > All that is normal, as the bug has been fixed in 2.20! > > Regards, > > -- > Benoît Minisini >
But then why am I getting the 'invalid date' error in 2.22? And more importantly, what do I need to do to correct it? ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user