• 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: Date of next Thursday
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Date of next Thursday


  • Subject: Re: Date of next Thursday
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 15 Nov 2000 21:27:24 -0800

On 11/15/00 6:16 PM, Nigel Garvey <email@hidden> wrote:

>>set nextThursday to date string of (dref + (round ((((current date) + 47
>>* days) - dref) / weeks) rounding up) * weeks)
>>
>>This removes the time from the result, leaving only the date.
>
>Oh right. Yes, of course. In fact the formula could be made slightly more
>efficient, so to further enhance your enhancement (assuming that the
>extra 47 days was left over from an experiment):

Whoops! yes, it was left over from an experiment to see if the
calculation carried forward properly to next year. Hey, I'm an SQA Test
Engineer; it's what I do. <g>

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | Hard as it may be to believe, my |
| email@hidden | life has been based on a true story. |
----------------------------------------------------------------------


  • Prev by Date: Re: Most Scriptable Apps (was: Can a script receive AppleEvents?)
  • Next by Date: Re: Date of next Thursday
  • Previous by thread: Re: Date of next Thursday
  • Next by thread: Re: Date of next Thursday
  • Index(es):
    • Date
    • Thread