Re: Coerce time
Re: Coerce time
- Subject: Re: Coerce time
- From: Graff <email@hidden>
- Date: Mon, 01 Dec 2003 04:54:08 -0500
Yeah, I always forget to state what version I'm using simply because
I'm always using the absolute latest version I can find. I wrongly
assume that since it is the latest then it's pretty much the default
version. However, we all know that there are still a lot of people
using earlier versions for stuff like Mac OS 9 and whatnot.
Sorry for tripping you up there!
- Ken
On Dec 1, 2003, at 4:23 AM, Paul Berkowitz wrote:
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.
_______________________________________________
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.