Re: monthNumber (was: Create a folder with today's date...)
Re: monthNumber (was: Create a folder with today's date...)
- Subject: Re: monthNumber (was: Create a folder with today's date...)
- From: Nigel Garvey <email@hidden>
- Date: Tue, 12 Feb 2002 15:59:44 +0000
John W Baxter wrote on Mon, 11 Feb 2002 19:52:49 -0800:
>
At 13:47 +0000 2/11/2002, Nigel Garvey wrote:
>
> return (dateObj - dateTemp + 3944592) div 2629728
>
>
Incomplete. A line like that--correct though it may be--demands a comment.
>
In this case, probably a URL to the novel, rather than the novel itself.
>
;-)
:-D
-- Extract the month number, using the Levy-Garvey equation (IEEE
pending)
-- N(m) = (d(m) - d(J) + 1.5L) div L
-- The Levy number is the constant 2629728, defined as the number of
seconds
-- in one twelfth of one approximated solar year of 365.24 days
;-)
NG
_______________________________________________
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.