Next:
Date-basic
, Previous:
Date class-instance creation (ANSI)
, Up:
Date
1.57.3 Date class: instance creation (Blue Book)
dateAndTimeNow
Answer an array containing the current date and time
fromDays: dayCount
Answer a Date denoting dayCount days past 1/1/1901
fromJulian: jd
Answer a Date denoting the jd-th day in the astronomical Julian calendar.
fromSeconds: time
Answer a Date denoting the date time seconds past Jan 1st, 1901
newDay: day month: monthName year: yearInteger
Answer a Date denoting the dayCount day of the given (named) month and year
newDay: day monthIndex: monthIndex year: yearInteger
Answer a Date denoting the dayCount day of the given (as a number) month and year
newDay: dayCount year: yearInteger
Answer a Date denoting the dayCount day of the yearInteger year
readFrom: aStream
Parse an instance of the receiver from aStream
today
Answer a Date denoting the current date in local time
utcDateAndTimeNow
Answer an array containing the current date and time in Coordinated Universal Time (UTC)
utcToday
Answer a Date denoting the current date in Coordinated Universal Time (UTC)