• 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: Correcting AGE_INFO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Correcting AGE_INFO


  • Subject: Re: Correcting AGE_INFO
  • From: "Nigel Garvey" <email@hidden>
  • Date: Thu, 4 Feb 2010 23:00:15 +0000

"email@hidden" wrote on Thu, 4 Feb 2010 09:56:25 -0800:

> Here are two more possible solutions:

Well, that should give Bert some choice!  :)

Results returned for the dates from 28th January 2010 to today (4th
February 2010):

NG (adjusted_age): {5, 4, 3, 3, 3, 2, 1, 0}
Deivy (correct_AGE_INFO): {5, 4, 3, 4, 3, 2, 1, 0}
Mark (business_days): {6, 5, 3, 3, 3, 3, 2, 1}
Luther (workDaysOld): {5, 4, 3, 3, 3, 2, 1, 0}
Ed (CountBusinessDays): {6, 5, 4, 4, 4, 3, 2, 1}

Timings in seconds (measured with 'current date' on a MacBook Pro 2.53 —
no 'GetMilliSec' on this machine!), getting the difference between 26th
January 2010 and today 5000 times:

NG: 1
Deivy: 1
Mark: 1
Luther: 24
Ed: 1

Ditto, getting the difference between 27th July 2009 and today:

NG: 1
Deivy: 1
Mark: 1
Luther: 24
Ed: 14

Not much to choose between them. Luther's surprisingly slow timings are
entirely due to his '(date (date string of …))' lines.

NG
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Correcting AGE_INFO
      • From: "email@hidden" <email@hidden>
    • Re: Correcting AGE_INFO
      • From: "Mark J. Reed" <email@hidden>
  • Prev by Date: Re: Script Menu in 10.6.2
  • Next by Date: Re: Correcting AGE_INFO
  • Previous by thread: Re: Correcting AGE_INFO
  • Next by thread: Re: Correcting AGE_INFO
  • Index(es):
    • Date
    • Thread