Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in VFP date handling
Message
From
25/05/1999 14:23:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Bug in VFP date handling
Miscellaneous
Thread ID:
00222614
Message ID:
00222614
Views:
56
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
Next
Reply
Map
View

Click here to load this message in the networking platform