Re: dates as text
Re: dates as text
- Subject: Re: dates as text
- From: Christopher Stone <email@hidden>
- Date: Sat, 10 Jan 2004 14:42:47 -0600
At 12:06 -0800 01/10/2004, Peter Wait wrought:
> Just put the word 'date ' in front of the text instead of 'as date' after
> it.
This way:
if custom date field two of thisContact "" then
set myDate to date custom date field two of thisContact
end if
Returns an AppleScript error "application can't get custom date field two"
Try this:
set myDate to date (custom date field two of thisContact)
Or you might possibly have to use a "get":
set myDate to date (get custom date field two of thisContact)
Chris
_______________________________________________
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.