Re: Coerce time
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.