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
>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