gettimeofday() question
| From: | John Vanderbeck | Date: | Wed, 14 Feb 2001 20:20:08 +0000 |
| Subject: | gettimeofday() question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-39735@lists.php.net to get a copy of this message | ||
Hello,
I need to be able to create files with unique names. One thought I had was
to use the date functions. In windows API you can call a function that
returns the number of milliseconds since, I think its January 1, 1970. That
number would pretty much be garunteed to be unuquie (although it could be
long, noone has to read these names).
if I use the PHP gettimeofday() function and get the "usec" value, would
this be the same thing? The manual is unclear about what the usecs is in
reference to.
- John Vanderbeck
- Admin, GameDesign