birth date from Address Book
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.