• 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
Another question on dates and times
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Another question on dates and times


  • Subject: Another question on dates and times
  • From: Clint Hoxie <email@hidden>
  • Date: Tue, 4 Dec 2007 19:38:43 -0700

Please tell me what resource I can use to figure this stuff out. I just flat don't know where to look, beyond the descriptions in the libraries.

Anyway, I am getting an error which looks to be telling me that a date can't be returned as a string.

Here is the code.

--Set variable for default to current date plus one day
set TomorrowDate to (month of (current date)) + 60 * 60 * 24 & "/" & (day of (current date)) + 60 * 60 * 24 & "/" & (year of (current date)) + 60 * 60 * 24\

display dialog "Enter event date:" default answer TomorrowDate


I also tried it with setting to just current date + etc., but same result.

Clint

PS - Thanks for any help.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Another question on dates and times
      • From: Chris Page <email@hidden>
    • Re: Another question on dates and times
      • From: Michelle Steiner <email@hidden>
    • Re: Another question on dates and times
      • From: "Gary (Lists)" <email@hidden>
    • Re: Another question on dates and times
      • From: Brian Johnson <email@hidden>
  • Prev by Date: Re: Problem with reading 4-byte floats from file on Intel
  • Next by Date: Any Mail rule script I try causes all applications to stall
  • Previous by thread: Re: Wow, AppleScript is tough!
  • Next by thread: Re: Another question on dates and times
  • Index(es):
    • Date
    • Thread