Re: Correcting AGE_INFO
Re: Correcting AGE_INFO
- Subject: Re: Correcting AGE_INFO
- From: "Nigel Garvey" <email@hidden>
- Date: Fri, 5 Feb 2010 11:43:33 +0000
Mark J. Reed wrote on Thu, 4 Feb 2010 18:41:35 -0500:
>On Thu, Feb 4, 2010 at 6:00 PM, Nigel Garvey
><email@hidden> wrote:
>> "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):
>
>Let's look at what that ought to be. Note that it depends on whether
>you count inclusively (counting the start date) or exclusively (not);
>the upward rounding in Bert's query makes me think he intended
>inclusive counting, which is what I intended my solution to yield.
Yes. I noticed the upward rounding myself, but since Bert's script made
no attempt to convert 'days' as 24-hour periods to days as calendar
entities, I didn't see the point of it and decided to ignore it.
Obviously we all had to make our own decisions about what to do if
either of the input dates was a Saturday or a Sunday. I posted the
various script results to help Bert and for the interest of the other
contributors. Sorry if I seemed to imply any criticism.
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