Calculations Involving Dates

Gregory Lypny gregory.lypny at videotron.ca
Fri Nov 19 17:59:46 EST 2004


Hello,

The date format of my Mac is set to Day/Month/Year.   Maybe I've been 
in front of the screen too long, but why does the following handler 
answer No?  Does it mean that the only way to do date calculations is 
with date items?

	Greg

set useSystemDate to true
put "9/6/1963"  into item 1 of theDates
put "11/6/1963" into item 2 of theDates
if item 2 of theDates > item 1 of theDates
then
put "Yes"
else
put "No"
end if



More information about the use-livecode mailing list