Home Segments Index Top Previous Next

531: Mainline

To obtain an object representing the current time, you send a now message to the Time class:

Time now 

To obtain an object representing a specific time, you send a fromSeconds: message in which the argument is the number of seconds past midnight for which you want the time:

Time fromSeconds: 40271