• 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: Indexing the month
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indexing the month


  • Subject: Re: Indexing the month
  • From: kai <email@hidden>
  • Date: Thu, 9 Dec 2004 02:17:33 +0000


On Wed, 8 Dec 2004 18:48:40 -0700, Michelle Steiner wrote:

On Dec 8, 2004, at 6:36 PM, Martin Orpen wrote:

set foo to 11
set bar to "1/" & foo & "/0"
month of date bar

-->November

I get January

set bar to foo & "/1" as text

--> November

Here, that becomes --> January

Since this depends on system date settings, it's probably safer to use something like:

-------------

set foo to 11

{January, February, March, April, May, June, July, August, September, October, November, December}'s item foo

--> November

-------------

---
kai

_______________________________________________
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


  • Follow-Ups:
    • Re: Indexing the month
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Subtract 1 month from date
  • Next by Date: Re: Indexing the month
  • Previous by thread: Re: Indexing the month
  • Next by thread: Re: Indexing the month
  • Index(es):
    • Date
    • Thread