Re: timestamp from uniqid()
| From: | Justin French | Date: | Wed, 02 Apr 2003 09:01:12 +0000 |
| Subject: | Re: timestamp from uniqid() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141951@lists.php.net to get a copy of this message | ||
If you want the microsecond use microtime().
Justin
on 02/04/03 8:44 PM, Sebastian (sebastian@dslr.net) wrote:
> may i ask what is it that your trying to do? Why not use time(); ?
>
> cheers,
> Sebastian
>
> ----- Original Message -----
> From: "nooper" <nooper@mail.ru>
>
>
> | Would there be a way to extract a timestamp from uniqid(), since the
> | function is based on the microsecond, and its purpose is not to be random
> in
> | anyway, simply unique. I understand that it is not supposed to act as a
> | timestamp, just wondering if anyone has a method of extracting a date or
> | time from a uniqid.
> | Thanks,
> | nooper
> |
> |
> |
> |
> | --
> | PHP General Mailing List (http://www.php.net/)
> | To unsubscribe, visit: http://www.php.net/unsub.php
> |
>