• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Date - 1 day in Address Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Date - 1 day in Address Book (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Date - 1 day in Address Book
  • Next by Date: Re: Date - 1 day in Address Book
  • Previous by thread: Re: Date - 1 day in Address Book
  • Next by thread: Re: Date - 1 day in Address Book
  • Index(es):
    • Date
    • Thread