Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Could not find it in the Help
Message
 
 
À
21/04/2005 14:22:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01007154
Message ID:
01007448
Vues:
14
>
>? CTOT(TimeToStr(DATETIME()))
>? CTOT(TimeToStr(DATE()))
>? CTOT(TimeToStr({}))
>function TimeToStr
>lparameter ttTime
>local lcReturn
>if empty(m.ttTime)
>	lcReturn='{/ :}'
>else
>	lcReturn=(transform(ttoc(m.ttTime,1), "@R 9999/99/99T99:99:99"))
>endif
>return m.lcReturn
>
It doesn't work, I was wrong. My original code works, but this returns wrong values...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform