logical time/date operators?

Rob Cozens rcozens at pon.net
Wed Nov 27 11:31:43 CST 2002

>a good idea (i use it, so it must be a good idea ;-) is to convert 
>dates to seconds
>and then do the comparison. So you can even add/subtract half a day etc...

Hi Oliver,

The use of seconds is handy, as Klaus suggested, if one needs to 
add/subtract from the original date/time.

If that isn't necessary, dateItems format works also, and has the 
advantage that one can determine the actual date/time just by looking 
at it.

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