• 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
Re: AppleScript is tremendously versatile about understanding dates (almost too versatile)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript is tremendously versatile about understanding dates (almost too versatile)


  • Subject: Re: AppleScript is tremendously versatile about understanding dates (almost too versatile)
  • From: Peter Wait <email@hidden>
  • Date: Sat, 10 Jan 2004 09:51:07 -0800

Well, probably; but not for a novice.

I've converted a date to a string, and stored it in an application field
defined as Unitext. It works fine in the application as a date. But when I
try to get it back in my script as a date (coercing it with "as date"),
AppleScript won't do it, saying its not a date. But it is a date, only in
text format.

How do I get it back? Do I have to do twelve if statements on the month, or
something awful like that?

Thanks for any help?

Peter
_______________________________________________
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: AppleScript is tremendously versatile about understanding dates (almost too versatile)
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Challenge: find info about Standard Additions
  • Next by Date: Re: AppleScript is tremendously versatile about understanding dates (almost too versatile)
  • Previous by thread: Re: Elementary fie naming question
  • Next by thread: Re: AppleScript is tremendously versatile about understanding dates (almost too versatile)
  • Index(es):
    • Date
    • Thread