Creating a date
Creating a date
- Subject: Creating a date
- From: Nicolas Silvestre <email@hidden>
- Date: Wed, 6 Apr 2005 07:32:54 +0200
I want to create a date using the day and month of the birth date in address book, and with the current year.
The script starts with :
*********************
tell application "Address Book"
set foundset to people
repeat with theperson in foundset
if the birth date of theperson exists then
set thedate to the birth date of theperson
set theday to the day of thedate
set themonth to the (month of thedate)
**********************
When I display dialog thedate, the day and themonth, I get :
mercredi 28 septembre 1949 12:00:00
28
September
After that, how do I create a date that is theday/themonth/2005, as a date ?
I can get a string, but not a date.
Could it be because the initial date is displayed in french ?
Thank you for your help.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden