Re: AppleScript is tremendously versatile about understanding dates (almost too versatile)
Re: AppleScript is tremendously versatile about understanding dates (almost too versatile)
- Subject: Re: AppleScript is tremendously versatile about understanding dates (almost too versatile)
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 10 Jan 2004 10:02:19 -0800
On 1/10/04 9:51 AM, "Peter Wait" <email@hidden> wrote:
>
Well, probably; but not for a novice.
>
>
I've converted a date to a string, and stored it in an application field
>
defined as Unitext. It works fine in the application as a date. But when I
>
try to get it back in my script as a date (coercing it with "as date"),
>
AppleScript won't do it, saying its not a date. But it is a date, only in
>
text format.
>
>
How do I get it back? Do I have to do twelve if statements on the month, or
>
something awful like that?
>
Just put the word 'date ' in front of the text instead of 'as date' after
it.
--
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.