Compare dates
Compare dates
- Subject: Compare dates
- From: Robert Poland <email@hidden>
- Date: Sun, 31 Aug 2003 11:55:18 -0600
Hi,
Got an Applescript question. The following script doesn't work as I
would hope. Any Suggestions?
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".
Access not allowed."
set readData to date readData
set endData to date endData
if answerDay is less than endData then beep
delay 1
if readData is less than endData then beep 2
Final use would be in this.
--if answerDay > readData and answerDay is less than endData and
newDay = result then
-- end if
TIA,
--
Bob Poland - Englewood, CO
http://www.ibrb.org/
_______________________________________________
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.