Date Comparison Problems (was Date)

Rob Cozens rcozens at pon.net
Sun Sep 10 10:43:25 EDT 2006


Hi Ian,

>theDOBA is an array containing a date in the form DD MM YYYY - one
>element per key
>
>[snip]
>
>put the short date into theDateNow

It appears to me that the two dates are in different formats:

	DOB = DD MM YYYY

	theDateNow = MM DD YY

If you computer's date format is set to DD MM YYYY (& the year of 
birth is within the range defined by the centuryCutoff),

	"put the short system date into theDateNow"

should do the job.
-- 

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



More information about the use-livecode mailing list