How many days until ...
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: How many days until ...
Jaques, please give him a chance!
-
- VIP Livecode Opensource Backer
- Posts: 7230
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: How many days until ...
Sorry. At least I didn't post a script.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: How many days until ...
HA, touché!
-
- VIP Livecode Opensource Backer
- Posts: 9655
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: How many days until ...
The dateItems is really a terrific gadget. Try this:
You can use this sort of thing to go forward or back in time. In fact, you might play around with the above, but:
Craig
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
Code: Select all
get the time
...