>I don't know if any of you ever thought about this or even got prepared for it:
>
>Set Century On
>? CToD("10/10/2000") && 10/10/2000
>Set Century Off
>? CToD("10/10/2000") && 10/10/00
>Set Century On
>? CToD("10/10/00") && 10/10/1900
>
>After you try this, you'll wish that the japanese guru was right about the year ending before XXI century...
>
>I realize that most of us use CENTURY OFF because it's easier to input data, but within just 4 years I think we'll all be in trouble because of that.
>Comments?
I read that in VFP 5.0 we have:
SET CENTURY TO 19 ROLLOVER xy
which means that any value above xy is assumed to be 19xy and any value under xy is assumed to be 20xy. But I don't have 5.0 to check it.
Vlad
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement