date problem

navrc <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.