That should give you a unique time (to the microsecond if you platform supports it), and should be okay until something like 2038?
That doesn't give any garantee for uniqueness when there is more than one processor in the machine. And those will be commonplace long before 2038. If you want uniqueness, don't depend on only a clock.
Abigail
In reply to Re: Automatically creating incremental file names
by Abigail-II
in thread Automatically creating incremental file names
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |