Language Guide
CHAPTER 3
Values
44 Value Class Definitions
Data 3
A value of class Data is data returned by an application (in response to a
command) that does not belong to any of the other value classes defined in this
section. A value of class Data is raw data that can only be stored in a variable.
PROPERTY
Class The class identifier for the object. This property is read-only,
and its value varies depending on the application.
ELEMENTS
None
OPERATORS
The operators that can take values of class Data as operands are = and .
COERCIONS SUPPORTED
AppleScript supports coercion of a Data value to a single-item list.
Date 3
A complete Date value specifies the day of the week, the date (month, day
of the month, and year), and the time; if you provide only some of this
information, AppleScript fills in the missing pieces with default values. You
can get and set properties of a Date value that correspond to different parts
of the date and time information.
You can specify Date values in many different formats. The format always
begins with the word date followed by a string (within quotation marks)
containing the date and time information. You can spell out the day of the
week, month, or date. You can also use standard three-letter abbreviations
for the day and month.