Next: , Previous: , Up: Date   [Index]


1.59.6 Date: date computations

asSeconds

Answer the date as the number of seconds from 1/1/1901.

dayOfMonth

Answer the day represented by the receiver (same as #day)

dayOfWeek

Answer the day of week of the receiver. 1 = Monday, 7 = Sunday

dayOfWeekAbbreviation

Answer the day of week of the receiver as a Symbol

dayOfWeekName

Answer the day of week of the receiver as a Symbol

dayOfYear

Answer the days passed since 31/12 of last year; e.g. New Year’s Day is 1

daysFromBaseDay

Answer the days passed since 1/1/1901

daysInMonth

Answer the days in the month represented by the receiver

daysInYear

Answer the days in the year represented by the receiver

daysLeftInMonth

Answer the days to the end of the month represented by the receiver

daysLeftInYear

Answer the days to the end of the year represented by the receiver

firstDayOfMonth

Answer a Date representing the first day of the month represented by the receiver

isLeapYear

Answer whether the receiver refers to a date in a leap year.

lastDayOfMonth

Answer a Date representing the last day of the month represented by the receiver

month

Answer the index of the month represented by the receiver

monthAbbreviation

Answer the abbreviated name of the month represented by the receiver

monthIndex

Answer the index of the month represented by the receiver

monthName

Answer the name of the month represented by the receiver

year

Answer the year represented by the receiver


Next: , Previous: , Up: Date   [Index]