Hi Holger,
I use GetLocaleInfo in WIN32API. (I switch the language during runtime)
My CMONTH and CDOW are redefined like
#DEFINE CMONTH MY_CMONTH
#DEFINE CDOW MY_CDOW
and the MY_* will return the values from the api. Works fine, excepted fpr reports.
Looks like I need MDY and DMY too ...
Agnes>Hi Evelyn,
>
>in addition to the answers of Agnes or Tore, you should keep in your mind, that the functions CDOW() and CMONTH() sometimes don't return the values you're expecting. <s>
>What I mean is, that the return values of these functions are depending on the runtime language your application is using. This means, you will get english month names or day names only if your application uses the english VFP runtime. If your application uses other runtime languages, you will get different return values.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]