Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ctod bug
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Ctod bug
Divers
Thread ID:
00105986
Message ID:
00105986
Vues:
94
Hey folks!

We found what seems to be a bug, both in VFP 5.0a and VFP6 beta. Maybe some of you have encountered it before, but we never read about it on the Compuserve forum, so we thought we'd post it.

set date to long
?ctod("01/01/1597") returns nothing (or empty string)
set date to short
?ctod("01/01/1597") returns nothing (or empty string)
set date to YMD
?ctod("01/01/1597") returns / /

should be 01/01/97, right? Works fine with other date formats. Plus,

set date to short
?ctod("01/01/1597") + 1500 returns 9-02-01, correct!

We concluded that CTOD doesn't work correct (at least doesn't return correct values) for dates < 01/01/1601. Has anyone seen this before?

greetings,
derk schutte
Derk Schutte
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform