Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Short Date Format
Message
 
À
29/06/2005 12:20:18
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01027420
Message ID:
01027442
Vues:
23
This message has been marked as the solution to the initial question of the thread.
Oh, you ask so much <s>...

Here you go:
#define LOCALE_SSHORTDATE 0x0000001F
DECLARE Integer GetLocaleInfo in WIN32API ;
	Long locale, ;
	Long lcType, ;
	String @lplcdata, ;
	Integer cchData
cBuffer = SPACE(50)
nLen = GetLocaleInfo(0,LOCALE_SSHORTDATE,@cBuffer,50)
RETURN LEFT(cBuffer,nLen-1)
Hope this helps,
Bo Durban
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform