Re: What is the quickest way to randomize a list?
Re: What is the quickest way to randomize a list?
- Subject: Re: What is the quickest way to randomize a list?
- From: Chris Nebel <email@hidden>
- Date: Sat, 07 Apr 2001 18:31:50 -0700
- Organization: Apple Computer, Inc.
Arthur J Knapp wrote:
>
on EraSeconds()
>
(*
>
* Seconds since beginning of Mac era. (Has this changed with
>
* MacOS X ??? )
>
*)
>
>
-- date - date = integer
>
--
>
return (current date) - (date "Friday, January 1, 1904 12:00:00 AM")
>
>
end EraSeconds
Despite UNIX systems' convention of using midnight January 1, 1970 as the Epoch
(it was a Thursday, incidentally), "current date" and Mac OS time functions in
general consider midnight January 1, 1904 as time "zero", even on Mac OS X.
--Chris Nebel
AppleScript Engineering