Re: Date problems
Re: Date problems
- Subject: Re: Date problems
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 26 Aug 2002 09:52:35 -0700
On 8/26/02 7:47 AM, "Michelle Steiner" <email@hidden> wrote:
>
On Monday, August 26, 2002, at 12:36 AM, Reinhold Penner wrote:
>
>
> set myDate to "Sun, 25 Aug 2002 16:24:16"
>
> return date myDate
>
> --> date "Sunday, August 25, 2002 16:24:16"
>
>
>
> In 10.1.5, I get "Can't make "Sun, 25 Aug 2002 16:24:16" into a date".
>
> So what I need is a simple and efficient way to transform the myDate
>
> string into something that can be coerced into a date on both OS.
>
>
I have no problem with that code with 10.1.5 and AS 1.8.3
inside an application tell block? You haven't said which application you
tested. Then again, neither did I. I was most likely using Entourage, but it
never made any difference in the old days. Maybe nowadays, it's best to try
it inside both a Carbon and a Cocoa application to see if it behaves the
same.
Reinhold is doing it inside his AppleScript Studio application, which
behaves as an implicit 'tell application "My Studio App"'.
Test it again within a tell block.
--
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.