Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filename based on Datetime and Seconds
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01317041
Message ID:
01317045
Views:
9
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform