• 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
birth date from Address Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

birth date from Address Book


  • Subject: birth date from Address Book
  • From: Darwin Zins <email@hidden>
  • Date: Tue, 11 Mar 2003 20:42:47 -0600

Can anyone tell me how to take the birth date from the Address Book and
change it to "DD.MM.YYYY" so 1/30/1970 would be 30.1.1970. I can't
seem to even set a variable to the birth date. I am trying to do
something like this:

try
set a_birth_date to birth date of aCard
display dialog a_birth_date
if a_birth_date is not "" then
set tmp_birth_date to a_birth_date
display dialog my_birth_date
set tmp_birth_date to day of my_birth_date & "." & month of
my_birth_date & "." & year of my_birth_date
display dialog tmp_birth_date
set |Birthday| of zCard to tmp_birth_date as string
end if
on error
set nothing to ""
end try

The only way I can even get it to set the value of a_birth_date to the
birth date is by changing it to:
set a_birth_date to birth date of aCard as string

Thanks for any help,

Darwin
_______________________________________________
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: birth date from Address Book
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: assistance with script, part 2
  • Next by Date: Re: Apple coding
  • Previous by thread: Re: Apple coding
  • Next by thread: Re: birth date from Address Book
  • Index(es):
    • Date
    • Thread