Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug in VFP date handling
Message
De
25/05/1999 14:23:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Bug in VFP date handling
Divers
Thread ID:
00222614
Message ID:
00222614
Vues:
58
Set

SET SYSFORMATS ON

in Visual FoxPro


In Windows Control Panel / Regional Settings

set date format to

yy/dd/mm


After this setting, many vfp date commands will stop working properly.

For example,

?ctod(dtoc(date()))=date()

returns .f.


Also, date in textbox control will appear differently when it has focus and when it doesnt have focus.

So, single control panel setting change will stop many VFP programs
working properly.
Andrus
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform