Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Short Date Format
Message
 
À
29/06/2005 11:48:20
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:
01027434
Vues:
12
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform