Re: Quickie Question
Re: Quickie Question
- Subject: Re: Quickie Question
- From: Kai Edwards <email@hidden>
- Date: Thu, 04 Apr 2002 19:53:09 +0000
on Sat, 30 Mar 2002 18:54:42 -0500, Arthur J Knapp
<email@hidden> wrote:
>
With regard to Richard Hartman's improvment:
>
>
set monthNum to (1 + (theDate - b) div N)
>
>
where N can be: 2419200 <= N <= 2505600
In other words, N can be: 28 days <= N <= 29 days.
I may be mistaken here, but it seems to me that these boundaries could be
extended even further (although - as a long-serving member of the 'if it
ain't broke don't fix it' brigade - exactly why one should want to do this
eludes me for the moment). ;-)
Is there any reason why this shouldn't work?...
2412001 <= N <= 2548800
My next question is even more puzzling: Why don't I get a life?
(Answers on a postcard, please...) :-)
Kai
--
**********************************
Kai Edwards Creative Resources
1 Compton Avenue Brighton UK
Telephone +44 (0)1273 326810
**********************************
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.