• 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: Coerce time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coerce time


  • Subject: Re: Coerce time
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 01 Dec 2003 01:23:28 -0800

On 12/1/03 12:57 AM, "Harald E Brandt" <email@hidden> wrote:

> +--> Graff wrote 03-11-30:
>> First of all if you want to change a long date to a short date and
>> you want to follow the localization for the user, do this:
>> ---------
>> set myDate to date "August 20, 2003"
>> set myShortDate to short date string of myDate
>> +-------- -----------------
>
> You have an osax somewhere! 'short date string' does not compile.
>
>
> +--
>> set theMonth to the (month of myDate) as integer
> +- ----------
>
> Probably the same osax. '(month of myDate) as integer' will not make
> it into an integer on my system.

Not an osax - Panther. Both are built into AppleScript 1.9.2. People really
should state which version of AS they're using, especially when especially
new or old.

--
Paul Berkowitz
_______________________________________________
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.

  • Follow-Ups:
    • Re: Coerce time
      • From: Graff <email@hidden>
References: 
 >Re: Coerce time (From: Harald E Brandt <email@hidden>)

  • Prev by Date: Re: Coerce time
  • Next by Date: Re: Hiding Application after running script
  • Previous by thread: Re: Coerce time
  • Next by thread: Re: Coerce time
  • Index(es):
    • Date
    • Thread