Re: Compare dates
Re: Compare dates
- Subject: Re: Compare dates
- From: Michelle Steiner <email@hidden>
- Date: Sun, 31 Aug 2003 11:29:13 -0700
On Sunday, August 31, 2003, at 10:55 AM, Robert Poland wrote:
set answerDay to "6-Sep"
set readData to "1-Sep"
set endData to "7-Jun"
set answerDay to date answerDay
----> GETS ERROR "Tex-Edit Plus got an error: Can't get date "5-Seo".
My first guess was that you made a typo in "Sep," but when I
deliberately made that typo
set answerDay to "6-Seo"
set readData to "1-Sep"
set endData to "7-Jun"
set answerDay to date answerDay
date "Wednesday, August 6, 2003 12:00:00 AM"
In fact, if I use "6anything" it ignores everything in the quotes after
"6" unless it is an actual month name or abbreviation (even if there
are non alphanumerics between the number and the month name).
set answerDay to "6*&^%$Sep"
set answerDay to date answerDay
--> date "Saturday, September 6, 2003 12:00:00 AM"
--Michelle
--
"There's some good in the world, Mr. Frodo, and it's worth fighting
for."
_______________________________________________
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.