Re: newbie question: real with fraction to int
Re: newbie question: real with fraction to int
- Subject: Re: newbie question: real with fraction to int
- From: "John W. Baxter" <email@hidden>
- Date: Sat, 25 Oct 2003 14:02:13 -0700
- Envelope-to: email@hidden
On 10/25/2003 9:07, "Michelle Steiner" <email@hidden> wrote:
>
On Oct 25, 2003, at 4:20 AM, Michelle Steiner wrote:
>
>
> set foo to "March"
>
> month of date foo as integer
>
> --> 3
>
>
or even this
>
march as integer
>
--> 3
But not
weekday of (current date) as integer
--> Error...can't make Saturday into an integer
--> Which neatly sidesteps discussions about whether it is 5 or 6 or 7
I note that the month and weekday names are capitalized.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.