Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filename based on Datetime and Seconds
Message
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
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01317041
Message ID:
01317045
Vues:
11
You Tom,

You can use SECONDS() function to get time up to miliseconds. See help for details.
? TTOC(DATETIME(),1) + PADL(INT(SECONDS()*100 % 100), 2, "0")
>
>I have to use a filename like this....
>
>path/term id/CCYYMMDDhhmmssss.FRQ
>
>
>The thing is the ssss part. I see that ss is the number of seconds of the datetime value used to get the CCYYMMDDhhmmss part.
>
>But what about the other ss part.... which I asssume is to be tenths and hundreths of a second of the datetime.
>
>How do you get that part???
>
>(I see that I can use TTOC(lcOutFile,1) to get the CCYYMMDDhhmmss part).
>
>Thanks!
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform