Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript date/time data types



On Nov 21, 2007, at 7:10 AM, Marco Piovanelli wrote:

Judging from what I see in <AE/AERegistry.h>, it looks like, in
addition to the venerable typeLongDateTime data type, modern
AppleScript may support the following alternative representations
of dates:

   typeISO8601DateTime
   typeCFAbsoluteTime

(the latter was apparently introduced with Leopard).

You are mistaking Apple Events for AppleScript. The two are not the same. The existence of an Apple Event descriptor type for a particular data format -- say, CFAbsoluteTime -- does not imply anything about AppleScript's support for same.


It is possible to use such data types in your application, or even invent your own -- picoseconds, anyone? -- and pass them to AppleScript, but AppleScript will treat them simply as data blobs, which it can assign and pass back to you, but won't be able to do anything else with.


--Chris Nebel AppleScript Engineering

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-implementors mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-implementors/email@hidden

This email sent to email@hidden
References: 
 >AppleScript date/time data types (From: "Marco Piovanelli" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.