Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Kooky SET DATE
Message
From
17/09/1998 00:31:27
 
 
To
17/09/1998 00:21:37
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Miscellaneous
Thread ID:
00137626
Message ID:
00137631
Views:
29
Hi David ---

Something is goofy with your machine or VFP version :) I tried your example and consistantly got "12" as the month. What type of PC do you have? OS? Are you using regionalized codepages?



>First, at the command prompt
>SET DATE BRITISH && Aust has DMY dates
>The put this in a test.prg
>
set date mdy
>wait window		&& result will vary depending on whether or not this line is here
>x= {12/08/98}
>? month(x)
>Run the program with and without the wait window. Without the wait window I get 8 as the month; which is wrong. Something kooky going on here.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform