Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting date formats
Message
 
 
À
11/02/2002 17:35:12
Thomas Ianuzzi
Information Security Consultants, Inc.
Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00618608
Message ID:
00618610
Vues:
12
>If I request the system date Date() I get {02/10/02}. I want to export it to another application in the format {^2002/02/10}. Is there a direct conversion function?

There is no such function but you can do it in one line
ldDate = DATE()
lcDate = "{^" + TRANSFORM( DTOS(ldDate), "@R 9999/99/99") + "}"
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform