Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ROLLOVER 20
Message
De
15/12/1999 15:26:17
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00304268
Message ID:
00304316
Vues:
35
>>>>I am all of a sudden experiencing problems with the command
>>>>
>>>>SET CENTURY ON ROLLOVER 20
>>>>
>>>>It is using the default (current year + 50 ie 1999 = rollover 49).
>>>>
>>>>I purged my screens and all code and only set it one in the main startup program - same thing.
>>>>
>>>>I tried it from a clean start and the command window - same thing.
>>>>
>>>>I closed VFP and started it from the generic icon (programfiles\Microsoft Visual Studio 6.0\VFP) Same thing.
>>>
>>>put
>>>
>>>set century TO 19 rollover 20
>>
>>
>>Nuts. I spoke too soon.
>>I tried the above and it did not work.
>>02/22/13 still yealds 2013!
>>
>>Terry
>
>Rollover 20 for any 2-digit year from 00 to 19 is in the 2000s. Anything 20 thru 99 is 1900s. You got your implementation reversed.


Sorry! I have egg on my face. I did mess up my test.
Please disregard the last message. My mistake

The "SET CENTURY TO 19 ROLLOVER 20" works fine.

Terry
It is impossible to make programs idiot proof. Idiots are too cleaver.

MCP( Tcp/Ip )
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform