Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Y2k Commands
Message
 
 
À
15/09/1999 21:15:32
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Divers
Thread ID:
00264453
Message ID:
00265310
Vues:
23
If it knows 00 is 2000, it shouldn't have a problem. What version did SET CENTURY TO start in?

Thanks,

Michelle



>Michelle,
>
>You will need something for February 29, 2000 since CTOD("02/29/00") will give an error.
>
>Something like:
>
>
>IIF(CharacterDateField = "02/29/00", ;
>    CTOD("02/29/2000"), CTOD(CharacterDateField))
>
>
>>>
>>>>I am trying to make an old 2.6 app Y2K compliant. What I would like to do is have it recognize 00 and up as 2000+, but not put the century in. They have character based dates, and I'm afraid if it sticks the century in that it won't work. Is this possible?
>>
>>They're 2 digit years and I'd like to keep them that way. Ambiguity is not a problem. All dates are either the current year or the previous year. All I really need is to have CTOD("01/01/00") (gr than sign) CTOD("12/31/99") be true.
>>
>>Thanks,
>>
>>Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform