Re: Date - 1 day in Address Book
Re: Date - 1 day in Address Book
- Subject: Re: Date - 1 day in Address Book
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 21 Jul 2003 09:36:39 -0700
On 7/21/03 8:42 AM, "Paul Berkowitz" <email@hidden> wrote:
>
to AdjustABForGMT(theBirthdate) -- stupid bug in AB up to OS 10.2.x ?
>
>
local hexOS, unixSecs, theBirthdate
>
>
set unixSecs to theBirthdate - (date "Thursday, January 1, 1970 12:00:00
>
AM")
That's how it compiles here in the US. You should replace that line with:
set unixSecs to theBirthdate - (date "1/1/1970")
then compile. If you use "1970-01-01" format or similar, use that instead.
--
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.