Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Y2K Slap in the Face
Message
De
22/03/1999 12:32:22
 
 
À
22/03/1999 12:19:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00199762
Message ID:
00200536
Vues:
10
>>SET CENTURY TO was available in 2.0 --- I still have viable FPD 2.0 apps up and running.
>>
>>Bonnie
>
>
>Sorry, Bonnie. SET CENTURY TO was not available in 2.0, 2.5, or 2.6. It didn't become available until VFP, and even then, not until 5.0, I think. I didn't use 3.0 much, so I'm not sure if it had it or not. The old Fox only had SET CENTURY ON/OFF.
>
>
>>
>>>Well, Calvin, I would say that you have mis-assumed - " if century were set off and a 21st century date were typed in the system would know that the system date was the 21st century .
>>>
>>>You want to sue people because you didn't read the documentation (which is brief, but says: "SET CENTURY OFF specifies a two-digit year format that includes eight characters and assumes the twentieth century for date calculations. This is the default setting.").
>>>
>>>Seems pretty clear to me!
>>>
>>>You might want to check when the SET CENTURY TO came into the language. It may have been FP 2.6, but I really don't know (head crash a few months back eradicated my FPD 2.6a copy and I didn't reinstall). If it was 2.6, then that is a relatively painless upgrade from 2.5
>>>
>>>Jim N
>>>
>>>
>>>>I have a vertical market app written in FoxPro 2.5 for DOS. I had assumed up to this point that the Y2K problem would go away when the century actually turned over, in other words that if century were set off and a 21st century date were typed in the system would know that the system date was the 21st century and everything would be OK. Now, I ( am I the last idiot left ) find out that FoxPro DOS itself is locked into the 20th century. It does not recognize the 21st Century system date. I now understand why Microsoft is being sued over this. Why have they not provided a patch for this problem. I am in the process of moving users to a VFP version of the product but they may not chose to convert. They may instead chose to sue us for selling them a product that does not even know what century it is in. I forsee a large number of law suits directed against Redmond if they do not fix this problem!

I have FPW2.6 and it does have SET CENTURY command. I'm sure I've seen it in the DOS 2.6 version, but the help file got screwed up somehow.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform