Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
After January 1st
Message
De
04/01/2000 04:30:37
 
 
À
04/01/2000 04:19:26
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00308678
Message ID:
00312229
Vues:
47
>>>Jim,
>>>
>>>>That would result in 1600 not being a leap year and it was as was 1200 adn will be in 2400.
>>>
>>>Unfortunately, I though 1600 was not a leap year, and 1200 certainly was not either. Leap years where invented after 1600 (by some pope i think). ;-)
>>>
>>
>>Walter,
>>
>>Interesting then VFP has a major bug in that ?MONTH({^1600/02/29}) returns 2 and MONTH({^1700/02/29}) returns an error of an invalid date.
>>
>>Boy, this is really going to screw up all those Shakespeare tracking apps I have out there.
>
>I also remember that some days in august where skipped to composate the timedelay build up from the year 1. I've forgot the exact year and dates. maybe someone could help me here.
>
>Yes, I think you're right, these dates should not be valid within VFP and could be considered as a Date-bug.
>
>Walter,

Here's some info:
In 1582 Pope Gregory XIII (hence the name Gregorian Calendar) ordered ten days to be dropped from October, thus restoring the vernalequinox at least to an average of the 20th of March, close to what it had been at the time of the Council of Nicea. In order to correct for the loss of one day every 130 years, the new calendar dropped three leap years every 400 years. Henceforth century years were leap years only if divisible by 400. 1600 and 2000 are leap years; 1700, 1800 and 1900 are not.

For more info:
http://es.rice.edu/ES/humsoc/Galileo/Things/gregorian_calendar.html
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform