Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Could not find it in the Help
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Could not find it in the Help
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01007154
Message ID:
01007154
Vues:
75
Hi everybody,

I'm trying to find a correct format for strict datetime values, but I could not find it. Would you please check, if the following code creates this correctly?
********************************************************************
*  Description.......: TimeToStr - creates a date string from date
*  Calling Samples...:
*  Parameter List....: ttTime
*  Created by........: Nadya Nosonovsky 07/13/2001 02:52:32 PM
*  Modified by.......:
********************************************************************
function TimeToStr
lparameter ttTime
local lcReturn
if empty(m.ttTime)
	lcReturn='{}'
else
	lcReturn="{^" + (transform(ttoc(m.ttTime,1), "@R 9999/99/99 99:99:99")) + "}"
endif
return m.lcReturn
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform