Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date() format
Message
De
18/12/2007 04:23:46
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
18/12/2007 04:13:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Divers
Thread ID:
01276414
Message ID:
01276424
Vues:
23
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.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform