Re: Specific Date-Time Formatting
Re: Specific Date-Time Formatting
- Subject: Re: Specific Date-Time Formatting
- From: Christopher Nebel <email@hidden>
- Date: Fri, 4 Nov 2005 15:53:07 -0800
On Nov 4, 2005, at 12:59 PM, Mark J. Reed wrote:
I'm guessing "month" is a class the same way "date" is a class. But
you can't construct month objects using the keyword, so I'm not
sure what its utility is. All of the following result in an error,
either "NSCannotCreateScriptCommandError" or "Can't make blah into
a month":
month "January"
month January
month 1
"January" as month
January as month
1 as month
Frankly, I'm not sure why they were defined as classes either. It
was like that when I got here. (Perversely, the month "constants"
like January are also classes.) Somewhere down on my to-do list is
making "month" into a sensible class so that all of the above
expressions would work. (Except maybe "month January". What's the
point of that one as opposed to "month 1"?)
--Chris Nebel
AppleScript and Automator Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden