Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding 1 year to a date
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00430291
Message ID:
00431106
Views:
11
>>>Hardly a bug. Dates following the Gregorian Calendar did not exist before 1752, so what's it supposed to do, guess? :)
>>
>>Fred,
>>
>>I don't know if you saw my response to this, but GOMONTH() may be relying on Zoeller's (or Zeller's) Congruence for its calculations. Since this would rely on the adoption of the Gregorian Calendar (I believe), it would explain this behavior. Apparently, it uses 1752 because that's when it was adopted here and in Great Britain. Originally it was introduced in 1582.
>
>1752, 1582, 1972 < g >, it makes no difference to me. I don't need any dates that far back to care. See, I *told* you I was too lazy to look it up. Thanks for the info George.

Neither do I.< s > I seem to recall this coming up before. Anyway, I strongly suspect that the exacts dates that'll be valid may be between the dates shown below. This is an excerpt from the documentation on SYS(1).

"You can get Visual FoxPro versions for any system date after September 14, 1752, and before December 31, 9999."
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform