Re: Indexing the month
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