Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inconsistent DATE handling in VFP 6.0
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00206454
Message ID:
00206825
Views:
18
>That looks pretty good, George -- one other thought struck me since yesterday -- are there any other values besides '0000' that might cause trouble? Probably not, but maybe running through some kind of loop starting at 01/01/0001 to check might be a good idea, just to be safe, since we can now assume I think that MS Vfp testers didn't cover this area very well...

Hi Bruce,

Brenda already has mentioned that '000' causes the same thing. Beyond that, I'd doubt it, with a hedge.

The hedge is to consider that any before about the 18th century may be invalid. The Gregorian Calendar wasn't introduced until the 17th century, and wasn't completely in use in the Western World until sometime in the 18th. So the validity any date before that time could be questioned. What a way to start a Friday.:-)
George

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

Click here to load this message in the networking platform