Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FOX PROBLEM WITH WINDOWS 98
Message
From
11/10/1998 11:18:50
Joel Baines
Shadow Computer Services Int'l Ltd.
Burlington, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00144958
Message ID:
00145748
Views:
26
>>I am sure that you all have found this out by now, but in FPW 26 (and prob VFP too) under Windows 98 the date default is not MDY but DMY.
>>
>>If you do not have SET DATE AMERICAN or SET DATE MDY in your program, you could be getting a nasty surprise.
>
>Hi Joel,
>
>Not on my installation of Win 98 it wasn't. It is something, however, that is user configurable under the control panel's regional settings. I believe that this information may be available via an API call, but I'd have to check.

My app does not have a set date in it. I tested it on 4 98 platforms and it is working on client site under 95. For some strange reason this results in the above error. I tested it also at the command prompt. In 98, on my systems, CMONTH(CTOD("10/01/98") gives "January". In 95 it gives "October". It has got to be some setting, but the fact that there is a consistant reproduceable symptom of a problem, I want to make people aware of. I guess the bottom line is to check your individual application, or if strange things start happening with dates, this provides a place to start looking. The Set Date MDY or AMERICAN corrected the situation without much fuss. The Docs (at least in FPW26) claim that the default format is MDY, but this is apparently system dependent.
Joel Baines
Shadow Computer Services International Ltd.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform