• 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: Michelle Steiner <email@hidden>
  • Date: Mon, 21 Jul 2003 07:33:29 -0700

On Monday, July 21, 2003, at 07:05 AM, Steve Roy wrote:

set d to "2.9.1970"
set theDate to date d
theDate as string
--> "MercoledC,, 2 settembre 1970 0:00:00"

--> "Monday, February 9, 1970 12:00:00 AM"

set d to "2.9.1970"
set theDate to date d
tell application "Address Book"
set thePerson to make new person at end with properties {first name:"Foo", last name:"Bar"}

tell thePerson
set birth date to theDate
end tell
save addressbook
end tell

The date in the address book is Monday, February 9, 1970

--
"There's some good in the world, Mr. Frodo, and it's worth fighting for."
_______________________________________________
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.
  • Follow-Ups:
    • Re: Date - 1 day in Address Book
      • From: John Delacour <email@hidden>
    • Re: Date - 1 day in Address Book
      • From: Paul Berkowitz <email@hidden>
    • Re: Date - 1 day in Address Book
      • From: Steve Roy <email@hidden>
  • Prev by Date: Re: Recording in Finder
  • Next by Date: Re: Date - 1 day in Address Book
  • Previous by thread: Date - 1 day in Address Book
  • Next by thread: Re: Date - 1 day in Address Book
  • Index(es):
    • Date
    • Thread