Page 1 of 1

Evaluating time (dateItems)

Posted: Wed Apr 09, 2008 5:00 pm
by hamlynart
Hi Folks,

Its easy to evaluate if one number is higher or lower than another but how do I evaluate if one time is earlier or later than another?

Jim H

Posted: Wed Apr 09, 2008 5:12 pm
by Mark
Hi Jim,

Convert the time to seconds before making any comparisons or calculations with it.

Best,

Mark

Evaluating time (dateItems)

Posted: Wed Apr 09, 2008 5:27 pm
by hamlynart
Wow that's brilliant. I haven't tried it yet but it will certainly work. Looks like I've got a whole lot of scripting to do - wish I'd asked sooner.

Thanks a million

Jim