Re: Date computation
Re: Date computation
- Subject: Re: Date computation
- From: Michelle Steiner <email@hidden>
- Date: Fri, 7 Jan 2005 12:25:55 -0700
On Jan 7, 2005, at 11:54 AM, Nigel Garvey wrote:
Hi, Michelle. It does exactly that on my machine. (That's what the 'if'
block's for.) I don't understand why it's not working properly for you.
Operator error. I made a typo and entered Jan 13 instead of Jan 12
when testing it, and didn't notice the error.
The principle is that 'b' is set to the fourteenth of the current month
That much I got; it was fairly obvious. <g>
(the end of the seven-day period in which the second Wednesday occurs).
OK.
Midnight on a known Wednesday in the past is subtracted from b
Let's see; that gives us the number of seconds between the 14th of the
current month and that known date.
and the
result is modulated by 'weeks' to leave the difference between midnight
on most recent Wednesday (ie. the second one of this month) and the
date/time of b.
The difference, expressed in what units? And I still don't see where
the most recent Wednesday is achieved here.
tell b to set {day, day} to {32, 14}
And I certainly don't understand that.
-- Michelle
--
"The right to be heard does not automatically include the right to be
taken seriously." -- Hubert H. Humphrey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden