Next: , Previous: DateTime class-instance creation, Up: DateTime


1.58.3 DateTime class: instance creation (non-ANSI)

date: aDate time: aTime
Answer a DateTime denoting the given date and time. Set the offset field to ofs (a Duration).


date: aDate time: aTime offset: ofs
Answer a DateTime denoting the given date and time. Set the offset field to ofs (a Duration).


fromDays: days seconds: secs offset: ofs
Answer a DateTime denoting the given date (as days since January 1, 1901) and time (as seconds since midnight). Set the offset field to ofs (a Duration).