Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Kooky SET DATE
Message
De
17/09/1998 00:31:27
 
 
À
17/09/1998 00:21:37
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Divers
Thread ID:
00137626
Message ID:
00137631
Vues:
28
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform