docServerUserLandCom picture
Contents
Frontier Site

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.

See Also mainResponder.calendar.getAddressDay


© Copyright 1992-2026 UserLand Software. Email: webmaster@userland.com.