UserLand Software Home  |  Manila  |  Radio  |  Support  |  News

DocServer

Prev | Next | mainResponder Verbs > mainResponder.calendar > getDayAddress

mainResponder.calendar.getDayAddress

Syntax mainResponder.calendar.getDayAddress (adrcalendar, d, flcreate, objtype)

Params adrcalendar is the address of a calendar in the database.

d is a valid date.

flcreate is a boolean flag. Default: true.

objtype is any of Frontier's built-in types. Default: tabletype.

Action Given a date, returns the address of the object, in the indicated calendar structure, for that day. If flcreate is true, then it will create as many tables as needed to represent the date. objtype is the type of the object that you're storing to represent each day.

Returns The address corresponding to d contained in adrcalendar.

Examples local (d = clock.now ())
mainResponder.calendar.getAddressDay (d)
@["Macintosh HD:Apps:Frontier:Guest Databases:www:news.root"].scriptingNews.["1999"].["03"].["06"]

Notes Detailed information about mainResponder's calendar format is available from the Frontier Site.

This verb was kernelized in Frontier 6.2b15.

See Also mainResponder.calendar.getAddressDay

Prev | Next | mainResponder Verbs > mainResponder.calendar > getDayAddress