datetime hour to minute

navrc <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Hi Mike,
I found this problem in aubit datetime hour to minute. If one of two times
is between 00:00 and 00:59 the condition is not evaluated correctly. This
example returns t1 > t2:

main
define
        t1, t2  datetime hour to minute

let t1 = "00:30"
let t2 = "05:10"
display " t1 = ", t1
display " t2 = ", t2

if t1 <= t2 then
        display "t1 <= t2"
else
        display "t1 > t2"
end if

end main


Pavel

-- 
View this message in context: http://old.nabble.com/datetime-hour-to-minute-tp33199946p33199946.html
Sent from the Aubit 4GL - Discuss mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
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.