Language Guide

CHAPTER 3
Values
48 Value Class Denitions
don’t specify the time information, 12:00 AM (midnight) is the default. If you
omit AM or PM, AM is the default; however, if you specify 12:00 without AM
or PM, 12:00 PM is the default. If you specify the time using 24-hour time,
AppleScript converts it to the equivalent time using AM or PM; for example,
17:00 is equivalent to 5:00 PM.
To get the current date, use the scripting addition command Current Date.
For example,
if current date = date "Sunday, January 23, 1992 12:05 PM"
then print the front window
end if
For a complete description of the Current Date command, see the AppleScript
Scripting Additions Guide.
Integer 3
A value of class Integer is a positive or negative number without a
fractional part.
LITERAL EXPRESSIONS
1
2
-1
1000
PROPERTY
Class The class identifier for the object. This property is read-only, and
its value is always integer.
ELEMENTS
None