GNU Smalltalk Library Reference: DateTime-computations

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


1.60.5 DateTime: computations

asSeconds

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

dayOfWeek

Answer the day of week of the receiver. Unlike Dates, DateAndTimes have 1 = Sunday, 7 = Saturday

hour

Answer the hour in a 24-hour clock

hour12

Answer the hour in a 12-hour clock

hour24

Answer the hour in a 24-hour clock

meridianAbbreviation

Answer either #AM (for anti-meridian) or #PM (for post-meridian)

minute

Answer the minute

second

Answer the month represented by the receiver

AltStyle によって変換されたページ (->オリジナル) /