Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another unique file name ?
Message
From
25/04/2001 10:19:24
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00499538
Message ID:
00499565
Views:
19
>Oops!!
>
>The format was wrong !
>
>date = 6 ddmmyy
>time = 6 hhmmss
>millisec = 2 msms ?

To get time and ms, CHRTRAN(TIME(1), ":.", "")

FWIW: I've used DTOS(DATE())+CHRTRAN(TIME(1), ":.", "")
This gives you yyyymmddhhmmssmsms which sorts better meets more Y2K compliant date configuration. It also makes sorting cleaner by year (if need that sort of thing). e.g., at the time of writing this: 2001042510112630

In a very fast loop this presents the same problem as SYS(3), namely duplicate values, but I don't create files that fast :)
HTH
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform