Note that this is barely adequate since a "typical" double has 53 bits of mantissa (not counting the sign bit) which can handle just under 16 decimal digits while time() currently returns 9 digits but will soon return 10, while $$ is typically no more than 5 digits (total will soon be 15 digits).
Doing the conversion to base-62 in two steps would give you lots of room (and different results).
- tye (but my friends call me "Tye")In reply to RE: RE: Randomizing Unique ID?
by tye
in thread Randomizing Unique ID?
by Martin A
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |