Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String to date
Message
 
À
14/06/1999 11:57:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00229475
Message ID:
00229493
Vues:
15
>how do you convert a str to date data type ?

If you have date as a string in format YYYYMMDD, then small function may help:

Function StoD
Parameters cString

Return Ctod(Substr(cString,5,2)+"/"+Right(cString,2)+"/"+Left(cString,4))
Igor Gelin
Database Developer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform