Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dates
Message
 
À
15/10/1999 13:24:15
Todd Wolfe
Certified Marketing Services
Kinderhook, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Dates
Divers
Thread ID:
00276974
Message ID:
00277022
Vues:
34
>I have a character field with a date stored in it in the following format
>
>mm/dd/yy
>
>I need to get this to be in this format ccyymmdd
>
>any suggestions?

SET DATE to mdy
lcDate = dtos(ctod("12/01/99"))
* then set date format back to your usual date format

The good thing about the above is that it uses the VFP settings for determining the century.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform