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