in reply to Re: time in seconds
in thread time in seconds

This approach does not work because it is unpredictable when a previously assigned number shows up.
What about using a simple (persistent) counter without using time or rand at all?

MP