Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Language problem
Message
From
08/09/2000 14:55:36
 
 
To
08/09/2000 12:34:59
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00414104
Message ID:
00414338
Views:
21
I work with VFP 6.0 spanish version and when I use the CDOW(datetime_exp) function in the design enviroment, it returns "lunes,martes... etc.", but when I install the application in another machine, it returns in english ("monday,thursday... etc.)
>Somebody knows how can I fix it.
*******************************
I have the same problem.

It's occurs when you call a .EXE outside of Visual Fox. If you run the program inside the VFP it's works well.

My solution was to create an array

aDia[1] = 'Domingo'
aDia[2] = 'Lunes'
....
aDia[6] = 'Sábado'

and using

? aDia[dow(DATE())]

I hope it solves your problem
Previous
Reply
Map
View

Click here to load this message in the networking platform