Re: Month as Integer
Re: Month as Integer
- Subject: Re: Month as Integer
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 29 Nov 2000 10:49:56 -0800
On 11/29/00 10:26 AM, "Carl West" <email@hidden> wrote:
>
Paul Berkowitz wrote:
>
>
>
> I know that
>
>
>
> month of (current date) as string
>
> -- "November"
>
>
>
> came in with OS 8.6 or 9.0 (which?).
>
>
>
> I find that I can also get
>
>
>
> month of (current date) as integer
>
> -- 11
>
>
>
> Is this a vanilla coercion with 8.6 or 9.0 as well, or is some osax helping
>
> me out here, does anyone know?
>
>
Doesn't work for me on OS 9.0.4.
>
I have only the standard AppleScript stuff installed.
Very interesting. I just got a private reply from someone who said that it
doesn't work with 8.6 but it DOES work with OS 9 and no 3rd-party osaxen
installed.
Is it possible, Carl, that you may have been using 'display dialog' to try
to show the result? THAT won't work unless you also put
(month as integer) as string
or
"" & (month as integer)
because display dialog needs a string.
Can you please let me know? This is very odd.
--
Paul Berkowitz