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

Re: Date computation


  • Subject: Re: Date computation
  • From: Nigel Garvey <email@hidden>
  • Date: Fri, 7 Jan 2005 20:17:35 +0000

Paul Berkowitz wrote on Fri, 07 Jan 2005 11:45:36 -0800:

>    set b's day to 32 -- changes date to 1st of next month

Not quite. It sets the date to the 32nd day starting at the first of b's
current month. That's the 1st of next month if this month has 31 days, or
the 2nd if this month has 30, with suitable alternatives if this is
February.

>    tell b to set {day, day} to {32, 14}
>
>I just tried it and that's what it does. I didn't know that. Trust Nigel to
>figure that one out - he must have worked out it saves a billionth of a
>second in computation time or something.;-)

It doesn't, actually, but it looks cool.  ;-)

NG
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Date computation
  • Next by Date: Re: Date computation
  • Previous by thread: Re: Date computation
  • Next by thread: Re: Date computation
  • Index(es):
    • Date
    • Thread