Re: Coerce Text to Date
Re: Coerce Text to Date
- Subject: Re: Coerce Text to Date
- From: Bill White <email@hidden>
- Date: Wed, 11 Dec 2002 19:00:43 -0500
Chris,
>
My text variable is named the_text, and the value is (for example)
>
"10/17/2002". So...
>
>
set the_new_date to date (the_text)
>
>
doesn't seem to work, nor does (the_text) as date or anything else.
set the_text to "10/17/2002"
set the_new_date to date (the_text)
--> date "Thursday, October 17, 2002 12:00:00 AM"
Works fine here in OS X 10.2.2, AS 1.9.
Bill
_______________________________________________
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.