• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Date computation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Date computation
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: Date computation (From: Nigel Garvey <email@hidden>)
 >Re: Date computation (From: yvan-koenig <email@hidden>)
 >Re: Date computation (From: Michelle Steiner <email@hidden>)

  • Prev by Date: corrupted messages in Eudora - how to reset status w/ AS? (answer)
  • Next by Date: Re: Path of self
  • Previous by thread: Re: Date computation
  • Next by thread: Re: Date computation
  • Index(es):
    • Date
    • Thread