• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What is the quickest way to randomize a list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: What is the quickest way to randomize a list? (From: "Arthur J Knapp" <email@hidden>)

  • Prev by Date: Re: Month as Integer, redux
  • Next by Date: Re: Archive on Goggle
  • Previous by thread: Re: What is the quickest way to randomize a list?
  • Next by thread: Re: What is the quickest way to randomize a list?
  • Index(es):
    • Date
    • Thread