>If you need a unique number based on a time stamp, I'd recommend using
>"the long seconds", which returns a floating point number that is the
>sum of the seconds and the milliseconds mod 1000.  I don't know for
>sure that the milliseconds function will wrap at some point, but it
>might.  

Excellent tip - thanks!

>We do know that the seconds function won't wrap until 2038, at
>which point we figure that whatever OSs are available will have a
>better way of doing things (like using 64-bit integers instead of
>32-bit integers to store the time) and the upgrade will be transparent
>to any stacks that survive until then ;-)

Has MetaCard Corp issued a statement of Y2.038k compliance?  :)




- Richard Gaskin 
  Fourth World
  Multimedia Design and Development for Mac, Windows, UNIX, and the Web
  _____________________________________________________________________
  [EMAIL PROTECTED]                 http://www.FourthWorld.com
  US: 800-288-5825         Int'l: 323-225-3717        Fax: 323-225-0716

Reply via email to