• 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: Month as Integer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Month as Integer
      • From: Carl West <email@hidden>
    • Re: Month as Integer
      • From: Jonathan Neff <email@hidden>
    • Re: Month as Integer
      • From: Jed Verity <email@hidden>
References: 
 >Re: Month as Integer (From: Carl West <email@hidden>)

  • Prev by Date: Re: Month as Integer
  • Next by Date: Re: Scritping Fetch (3.0.3)
  • Previous by thread: Re: Month as Integer
  • Next by thread: Re: Month as Integer
  • Index(es):
    • Date
    • Thread