Re: date problem
Mike Aubury <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <CAGAq4WHTcxO0HsXbSeLmLtWmENcKXu1wvK0zvYn0yGwkJvtKfw@mail.gmail.com> |
Should be fixed in CVS now... On 27 February 2012 19:42, Mike Aubury <[email protected]> wrote: > You shouldnt be adding "units day" to a date in any case.. > Dates are 'days' - you can just add 1 or -1 etc.. > > I'll look into it though.. > > > On 27 February 2012 19:37, navrc <[email protected]> wrote: > >> >> Hi Mike, still one date problem: >> >> main >> >> define p_int integer, >> p_dat date >> >> let p_dat = today >> let p_int = -1 >> >> display p_dat at 10,10 >> let p_dat = p_dat + p_int units day >> display p_dat at 11,10 >> let p_dat = today + p_int units day >> display p_dat at 12,10 >> >> end main >> >> >> I4GL output: >> >> 27.02.2012 >> 26.02.2012 >> 26.02.2012 >> >> >> Aubit output: >> >> 27.02.2012 >> 28.02.2012 >> 28.02.2012 >> >> -- >> View this message in context: >> http://old.nabble.com/date-problem-tp33402140p33402140.html >> Sent from the Aubit 4GL - Discuss mailing list archive at Nabble.com. >> >> >> >> ------------------------------------------------------------------------------ >> Try before you buy = See our experts in action! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-dev2 >> _______________________________________________ >> Aubit4gl-discuss mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss >> > > ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Aubit4gl-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss