Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Short Date Format
Message
 
To
29/06/2005 12:20:18
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01027420
Message ID:
01027442
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform