• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Compare dates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Compare dates
      • From: Michelle Steiner <email@hidden>
    • Re: Compare dates
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: error 10
  • Next by Date: Re: Compare dates
  • Previous by thread: Extensis Suitcase 10
  • Next by thread: Re: Compare dates
  • Index(es):
    • Date
    • Thread