Page 2 of 2

Re: How many days until ...

Posted: Thu Jul 12, 2018 5:14 pm
by Klaus
Jaques, please give him a chance! :D

Re: How many days until ...

Posted: Thu Jul 12, 2018 5:43 pm
by jacque
Sorry. At least I didn't post a script.

Re: How many days until ...

Posted: Thu Jul 12, 2018 5:53 pm
by Klaus
HA, touché! :-)

Re: How many days until ...

Posted: Thu Jul 12, 2018 6:17 pm
by dunbarx
The dateItems is really a terrific gadget. Try this:

Code: Select all

on mouseUp
   get the date
   convert it to dateitems
   add 10000 to item 4 of it  -- or   subtract 10000 from item 4 of it
   convert it to date
   answer it
end mouseUp
You can use this sort of thing to go forward or back in time. In fact, you might play around with the above, but:

Code: Select all

 get the time
 ...
Craig