| Syntax |
mainResponder.calendar.getMostRecentDay (adrcalendar, d)
|
| Params |
adrcalendar is the address of a calendar in the database.
d is an optional date. Default: clock.now ().
|
| Action |
If the address corresponding to d exists, we return its date. Otherwise, walk backwards in time until we find an element and return the corresponding date.
|
| Returns |
The date of the most recent calendar entry.
|
| Examples |
mainResponder.calendar.getMostRecentDay (@scriptingNews)
» "3/12/99; 12:00:00 AM"
|
| Errors |
If the calendar does not contain elements corresponding to times before d or if adrcalendar does not point to a valid non-empty calendar structure, an error message is generated.
|
| Notes |
It's safe for the calendar structure to contain non-numeric entries (e.g.#directives).
Detailed information about mainResponder's calendar format is available from the Frontier Site.
|
| See Also |
mainResponder.calendar.getMostRecentAddress
mainResponder.calendar.getFirstDay
mainResponder.calendar.getLastDay
mainResponder.calendar.getNextDay
|