Re: Date computation
Re: Date computation
- Subject: Re: Date computation
- From: yvan-koenig <email@hidden>
- Date: Fri, 7 Jan 2005 22:29:46 +0100
Le 7 janv. 2005 , à 21:41, Michelle Steiner a écrit :
On Jan 7, 2005, at 1:18 PM, yvan-koenig wrote:
I got a Wednesday
if I set d1 to "1/1/1001" I got a Thursday
if I set d1 to "1/1/1002" I got a Friday
if I set d1 to "1/1/1003" I got a Saturday
if I set d1 to "1/1/1004" I got a Sunday
if I set d1 to "1/1/1005" I got a Tuesday
if I set d1 to "1/1/1006" I got a Wednesday
if I set d1 to "1/1/1007" I got a Thursday
…
Never got a Monday ????
That's because 1004 was a leap year.
1008 gets a Friday
1009 gets a Sunday
Yo,
1987 --> Thursday
1988 --> Friday
1989 --> Sunday
1990 --> Monday
1991 --> Tuesday
1992 --> Wednesday
1993 --> Friday
1994 --> Saturday
1995 --> Sunday
1996 --> Monday
1997 --> Wednesday
1998 --> Tuesday
1999 --> Friday
2000 --> Saturday
2001 --> Monday
2002 --> Tuesday
2003 --> Wednesday
2004 --> Thursday
2005 --> Saturday
1010 --> Monday
Is it a leap yearfeature or a millenium one ?
Yvan KOENIG
_______________________________________________
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