Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Short Date Format
Message
 
To
29/06/2005 11:48:20
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:
01027434
Views:
14
There is an API call, but if you want, you can do this:
FUNCTION GetShortFormat
  LOCAL cSetDate, cFormat
  cSetDate = SET("DATE")
  SET DATE SHORT
  cFormat = STRTRAN(STRTRAN(STRTRAN(STRTRAN( ;
    DTOC(DATE(2033,11,22)), ;
    "22","DD"),"11","MM"),"33","YY"),"20","YY")
  SET DATE &cSetDate
  RETURN cFormat
ENDFUNC
Bo Durban
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform