[Clock] add: [Number]. | Manual

[Clock] add: [Number].

Adds the number to the clock, updating its time accordingly. Note that this is typically used with a qualifier. If the qualifier is 'hours' the number is treated as hours and the specified number of hours will be added to the time. The Clock object understands the following qualifiers if the selected language is English: sec, second, seconds, min, minute, minutes, hrs, hour, hours, day, days, week, weeks, month, months, year, years Note that it does not matter which form you use, 2 hour means the same as 2 hours (plural).
Usage:


 clock add: 3 minutes. #adds 3 minutes
 clock add: 1 hour.    #adds 1 hour
 clock add: 2 second.  #adds 2 seconds

back to homepage
back to manual menu

This API reference guide has been generated automatically from source code comments using the shtml.ctr script.