Language Guide
CHAPTER 3
Values
Value Class Definitions 45
LITERAL EXPRESSIONS
date "12/5/54, 12:06 PM"
date "12/05/53, 12:06"
date "12/05/54"
date "12:06"
date "Sunday, December 5, 1954 12:06 pm"
PROPERTIES
Class The class identifier for the object. This property is read-only, and
its value is always date.
Weekday One of the constants Monday, Tuesday, Wednesday,
Thursday, Friday, Saturday, Sunday or Mon, Tue, Wed, Thu,
Fri, Sat, Sun.
Month One of the constants January, February, March, April, May,
June, July, August, September, October, November,
December or Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep,
Oct, Nov, Dec.
Year An integer specifying the year; for example, 1993.
Time An integer that specifies the number of seconds since midnight
of the date value; for example, 2700 is equivalent to 12:45
AM.
Date A string that consists of the date portion of the date value; for
example, "June 3, 1993".
ELEMENTS
None